Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] problems with PJSIP install on UBUNTU 14.04

Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rmudgett at digium.com
Guest





PostPosted: Wed Sep 23, 2015 5:51 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On Wed, Sep 23, 2015 at 5:43 PM, Ryan, Travis <RyanT@oscarwinski.com (RyanT@oscarwinski.com)> wrote:
Quote:

Quote:
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users- ([email]asterisk-users-[/email])
bounces@lists.digium.com (bounces@lists.digium.com)] On Behalf Of Joshua Colp
Sent: Wednesday, September 23, 2015 6:38 PM
To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
14.04

On 15-09-23 07:36 PM, Ryan, Travis wrote:
Quote:
I've got the backtrace, but how much of the info do you want?

Ideally everything.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at:
www.digium.com & www.asterisk.org

The core files are large, so here's the backtrace.txt


You are linking to a *static* version of the PJPROJECT library.
That is guaranteed to cause crashes.  You must remove the static

build of PJPROJECT from your system.



Richard
Back to top
RyanT at OscarWinski.com
Guest





PostPosted: Wed Sep 23, 2015 5:53 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Richard Mudgett
Sent: Wednesday, September 23, 2015 6:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04





On Wed, Sep 23, 2015 at 5:43 PM, Ryan, Travis <RyanT@oscarwinski.com (RyanT@oscarwinski.com)> wrote:

Quote:
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users- ([email]asterisk-users-[/email])
bounces@lists.digium.com (bounces@lists.digium.com)] On Behalf Of Joshua Colp
Sent: Wednesday, September 23, 2015 6:38 PM
To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
14.04

On 15-09-23 07:36 PM, Ryan, Travis wrote:
Quote:
I've got the backtrace, but how much of the info do you want?

Ideally everything.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at:
www.digium.com & www.asterisk.org

The core files are large, so here's the backtrace.txt


You are linking to a *static* version of the PJPROJECT library.
That is guaranteed to cause crashes. You must remove the static

build of PJPROJECT from your system.



Richard



[Ryan, Travis]
I’m not sure what that means.  I just built it how the wiki says too, and earlier messages in this thread. J
Back to top
rmudgett at digium.com
Guest





PostPosted: Wed Sep 23, 2015 5:57 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On Wed, Sep 23, 2015 at 5:53 PM, Ryan, Travis <RyanT@oscarwinski.com (RyanT@oscarwinski.com)> wrote:
Quote:

 
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Richard Mudgett
Sent: Wednesday, September 23, 2015 6:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04


 
 
 
On Wed, Sep 23, 2015 at 5:43 PM, Ryan, Travis <RyanT@oscarwinski.com (RyanT@oscarwinski.com)> wrote:

Quote:
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users- ([email]asterisk-users-[/email])
bounces@lists.digium.com (bounces@lists.digium.com)] On Behalf Of Joshua Colp
Sent: Wednesday, September 23, 2015 6:38 PM
To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
14.04

On 15-09-23 07:36 PM, Ryan, Travis wrote:
Quote:
I've got the backtrace, but how much of the info do you want?

Ideally everything.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at:
www.digium.com & www.asterisk.org

The core files are large, so here's the backtrace.txt
 

You are linking to a *static* version of the PJPROJECT library.
That is guaranteed to cause crashes.  You must remove the static

build of PJPROJECT from your system.

 

Richard


 
[Ryan, Travis]
I’m not sure what that means.  I just built it how the wiki says too, and earlier messages in this thread. J






The instructions also say you must remove any other built installations of the PJPROJECT

because they are likely static libraries (*.a libraries).  The linker is finding the static library first.


Richard
Back to top
jcolp at digium.com
Guest





PostPosted: Wed Sep 23, 2015 5:57 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On 15-09-23 07:53 PM, Ryan, Travis wrote:
Quote:

I’m not sure what that means. I just built it how the wiki says too,
and earlier messages in this thread. J

It means not all instances of PJSIP were removed from your system before
rebuilding and installing it. It could also mean that you had old
Asterisk modules installed and did not remove them before installing the
new Asterisk. Essentially res_hep_pjsip is using a self contained copy
of PJSIP which is in an undefined state.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
RyanT at OscarWinski.com
Guest





PostPosted: Wed Sep 23, 2015 6:01 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

Quote:
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-
bounces@lists.digium.com] On Behalf Of Joshua Colp
Sent: Wednesday, September 23, 2015 6:58 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
14.04

On 15-09-23 07:53 PM, Ryan, Travis wrote:
Quote:

I'm not sure what that means. I just built it how the wiki says too,
and earlier messages in this thread. J

It means not all instances of PJSIP were removed from your system
before rebuilding and installing it. It could also mean that you had
old Asterisk modules installed and did not remove them before
installing the new Asterisk. Essentially res_hep_pjsip is using a self
contained copy of PJSIP which is in an undefined state.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

[Ryan, Travis]
I ran all the uninstall commands and the rm commands. Made sure that ldconfig -p had no pj stuff in it.

That's not enough? What did I miss?

Thanks


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jcolp at digium.com
Guest





PostPosted: Wed Sep 23, 2015 6:04 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On 15-09-23 08:00 PM, Ryan, Travis wrote:
Quote:
I ran all the uninstall commands and the rm commands. Made sure that ldconfig -p had no pj stuff in it.

That's not enough? What did I miss?

"make uninstall" uses the configure parameters. You can do:

updatedb
locate libpj

To find all remaining libraries.

You should also ensure old Asterisk modules don't exist by doing rm -rf
/usr/lib/asterisk/modules

And re-running make install in Asterisk afterwards

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jcolp at digium.com
Guest





PostPosted: Thu Sep 24, 2015 5:24 am    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On 15-09-23 10:25 PM, Ryan, Travis wrote:
Quote:
Ok I did all that and it's still crashing. I did find some other
areas I think that shouldn't have had any of those files, so I
thought it would work, because I got rid of ALL of them per your
instructions and completely reconfigured and compiled both pjsip and
then asterisk.

Same problem. Asterisk was built against static instead of shared.
What's the output of:

ls -al /usr/lib/libpj*
pkg-config --libs libpjproject

And from the pjproject source directory:
grep "aconfigure" config.status

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jcolp at digium.com
Guest





PostPosted: Thu Sep 24, 2015 6:51 am    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On 15-09-24 08:45 AM, Ryan, Travis wrote:
Quote:
I could bet it could be something in pkg-config. How do I get that to reset? I never changed anything in there.

It is an installed file from pjproject.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
RyanT at OscarWinski.com
Guest





PostPosted: Thu Sep 24, 2015 6:54 am    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Joshua Colp
Sent: Thursday, September 24, 2015 6:23 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

On 15-09-23 10:25 PM, Ryan, Travis wrote:
Quote:
Ok I did all that and it's still crashing. I did find some other areas
I think that shouldn't have had any of those files, so I thought it
would work, because I got rid of ALL of them per your instructions and
completely reconfigured and compiled both pjsip and then asterisk.

Same problem. Asterisk was built against static instead of shared.
What's the output of:

ls -al /usr/lib/libpj*
pkg-config --libs libpjproject

And from the pjproject source directory:
grep "aconfigure" config.status

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org

travis@pcimphone1:~/downloads/asterisk-13.5.0$ ls -al /usr/lib/libpj*
lrwxrwxrwx 1 root root 18 Sep 23 19:13 /usr/lib/libpjlib-util.so -> libpjlib-util.so.2
-rwxr-xr-x 1 root root 172098 Sep 23 19:13 /usr/lib/libpjlib-util.so.2
-rw-r--r-- 1 root root 243816 Sep 23 19:13 /usr/lib/libpjlib-util-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 24 Sep 23 19:13 /usr/lib/libpjmedia-audiodev.so -> libpjmedia-audiodev.so.2
-rwxr-xr-x 1 root root 23345 Sep 23 19:13 /usr/lib/libpjmedia-audiodev.so.2
-rw-r--r-- 1 root root 31690 Sep 23 19:13 /usr/lib/libpjmedia-audiodev-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 21 Sep 23 19:14 /usr/lib/libpjmedia-codec.so -> libpjmedia-codec.so.2
-rwxr-xr-x 1 root root 58816 Sep 23 19:14 /usr/lib/libpjmedia-codec.so.2
-rw-r--r-- 1 root root 84334 Sep 23 19:14 /usr/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 15 Sep 23 19:14 /usr/lib/libpjmedia.so -> libpjmedia.so.2
-rwxr-xr-x 1 root root 333058 Sep 23 19:14 /usr/lib/libpjmedia.so.2
lrwxrwxrwx 1 root root 24 Sep 23 19:13 /usr/lib/libpjmedia-videodev.so -> libpjmedia-videodev.so.2
-rwxr-xr-x 1 root root 8005 Sep 23 19:13 /usr/lib/libpjmedia-videodev.so.2
-rw-r--r-- 1 root root 9002 Sep 23 19:13 /usr/lib/libpjmedia-videodev-x86_64-unknown-linux-gnu.a
-rw-r--r-- 1 root root 492756 Sep 23 19:14 /usr/lib/libpjmedia-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 14 Sep 23 19:13 /usr/lib/libpjnath.so -> libpjnath.so.2
-rwxr-xr-x 1 root root 170365 Sep 23 19:13 /usr/lib/libpjnath.so.2
-rw-r--r-- 1 root root 230232 Sep 23 19:13 /usr/lib/libpjnath-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 20 Sep 23 19:14 /usr/lib/libpjsip-simple.so -> libpjsip-simple.so.2
-rwxr-xr-x 1 root root 96124 Sep 23 19:14 /usr/lib/libpjsip-simple.so.2
-rw-r--r-- 1 root root 125244 Sep 23 19:14 /usr/lib/libpjsip-simple-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 13 Sep 23 19:14 /usr/lib/libpjsip.so -> libpjsip.so.2
-rwxr-xr-x 1 root root 310921 Sep 23 19:14 /usr/lib/libpjsip.so.2
lrwxrwxrwx 1 root root 16 Sep 23 19:14 /usr/lib/libpjsip-ua.so -> libpjsip-ua.so.2
-rwxr-xr-x 1 root root 117344 Sep 23 19:14 /usr/lib/libpjsip-ua.so.2
-rw-r--r-- 1 root root 142916 Sep 23 19:14 /usr/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a
-rw-r--r-- 1 root root 454220 Sep 23 19:14 /usr/lib/libpjsip-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 10 Sep 23 19:12 /usr/lib/libpj.so -> libpj.so.2
-rwxr-xr-x 1 root root 202183 Sep 23 19:12 /usr/lib/libpj.so.2
lrwxrwxrwx 1 root root 14 Sep 23 19:15 /usr/lib/libpjsua2.so -> libpjsua2.so.2
-rwxr-xr-x 1 root root 534949 Sep 23 19:15 /usr/lib/libpjsua2.so.2
-rw-r--r-- 1 root root 892162 Sep 23 19:15 /usr/lib/libpjsua2-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 13 Sep 23 19:14 /usr/lib/libpjsua.so -> libpjsua.so.2
-rwxr-xr-x 1 root root 281900 Sep 23 19:14 /usr/lib/libpjsua.so.2
-rw-r--r-- 1 root root 374498 Sep 23 19:14 /usr/lib/libpjsua-x86_64-unknown-linux-gnu.a
-rw-r--r-- 1 root root 283852 Sep 23 19:12 /usr/lib/libpj-x86_64-unknown-linux-gnu.a

travis@pcimphone1:~/downloads/asterisk-13.5.0$ pkg-config --libs libpjproject
-L/usr/local/lib -lpjsua2-x86_64-unknown-linux-gnu -lstdc++ -lpjsua-x86_64-unknown-linux-gnu -lpjsip-ua-x86_64-unknown-linux-gnu -lpjsip-simple-x86_64-unknown-linux-gnu -lpjsip-x86_64-unknown-linux-gnu -lpjmedia-codec-x86_64-unknown-linux-gnu -lpjmedia-videodev-x86_64-unknown-linux-gnu -lpjmedia-audiodev-x86_64-unknown-linux-gnu -lpjmedia-x86_64-unknown-linux-gnu -lpjnath-x86_64-unknown-linux-gnu -lpjlib-util-x86_64-unknown-linux-gnu -lsrtp-x86_64-unknown-linux-gnu -lresample-x86_64-unknown-linux-gnu -lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu -lilbccodec-x86_64-unknown-linux-gnu -lg7221codec-x86_64-unknown-linux-gnu -lportaudio-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu -lssl -lcrypto -luuid -lm -lrt -lpthread

travis@pcimphone1:~/downloads/pjproject-2.4.5$ grep "aconfigure" config.status
# Generated by aconfigure.
configured by ./aconfigure, generated by GNU Autoconf 2.69,
set X /bin/bash './aconfigure' '--prefix=/usr' '--enable-shared' '--disable-sound' '--disable-resample' '--disable-video' '--disable-opencore-amr' 'CFLAGS=-O2 -DNDEBUG' $ac_configure_extra_args --no-create --no-recursion


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
RyanT at OscarWinski.com
Guest





PostPosted: Thu Sep 24, 2015 6:55 am    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

I could bet it could be something in pkg-config. How do I get that to reset? I never changed anything in there.

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Joshua Colp
Sent: Thursday, September 24, 2015 6:23 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

On 15-09-23 10:25 PM, Ryan, Travis wrote:
Quote:
Ok I did all that and it's still crashing. I did find some other areas
I think that shouldn't have had any of those files, so I thought it
would work, because I got rid of ALL of them per your instructions and
completely reconfigured and compiled both pjsip and then asterisk.

Same problem. Asterisk was built against static instead of shared.
What's the output of:

ls -al /usr/lib/libpj*
pkg-config --libs libpjproject

And from the pjproject source directory:
grep "aconfigure" config.status

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jcolp at digium.com
Guest





PostPosted: Thu Sep 24, 2015 7:10 am    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On 15-09-24 08:54 AM, Ryan, Travis wrote:
Quote:

travis@pcimphone1:~/downloads/asterisk-13.5.0$ pkg-config --libs
libpjproject -L/usr/local/lib -lpjsua2-x86_64-unknown-linux-gnu
-lstdc++ -lpjsua-x86_64-unknown-linux-gnu
-lpjsip-ua-x86_64-unknown-linux-gnu
-lpjsip-simple-x86_64-unknown-linux-gnu
-lpjsip-x86_64-unknown-linux-gnu
-lpjmedia-codec-x86_64-unknown-linux-gnu
-lpjmedia-videodev-x86_64-unknown-linux-gnu
-lpjmedia-audiodev-x86_64-unknown-linux-gnu
-lpjmedia-x86_64-unknown-linux-gnu -lpjnath-x86_64-unknown-linux-gnu
-lpjlib-util-x86_64-unknown-linux-gnu -lsrtp-x86_64-unknown-linux-gnu
-lresample-x86_64-unknown-linux-gnu
-lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu
-lilbccodec-x86_64-unknown-linux-gnu
-lg7221codec-x86_64-unknown-linux-gnu
-lportaudio-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu
-lssl -lcrypto -luuid -lm -lrt -lpthread

Your pkg-config file is specifying /usr/local/lib - are there any
remaining libpj files in there?

ls -al /usr/local/lib/libpj*.so
ls -al /usr/local/lib/libpj*.a


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
RyanT at OscarWinski.com
Guest





PostPosted: Thu Sep 24, 2015 12:27 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On 9/24/15, 8:10 AM, "asterisk-users-bounces@lists.digium.com on behalf of
Joshua Colp" <asterisk-users-bounces@lists.digium.com on behalf of
jcolp@digium.com> wrote:

Quote:
On 15-09-24 08:54 AM, Ryan, Travis wrote:
Quote:

travis@pcimphone1:~/downloads/asterisk-13.5.0$ pkg-config --libs
libpjproject -L/usr/local/lib -lpjsua2-x86_64-unknown-linux-gnu
-lstdc++ -lpjsua-x86_64-unknown-linux-gnu
-lpjsip-ua-x86_64-unknown-linux-gnu
-lpjsip-simple-x86_64-unknown-linux-gnu
-lpjsip-x86_64-unknown-linux-gnu
-lpjmedia-codec-x86_64-unknown-linux-gnu
-lpjmedia-videodev-x86_64-unknown-linux-gnu
-lpjmedia-audiodev-x86_64-unknown-linux-gnu
-lpjmedia-x86_64-unknown-linux-gnu -lpjnath-x86_64-unknown-linux-gnu
-lpjlib-util-x86_64-unknown-linux-gnu -lsrtp-x86_64-unknown-linux-gnu
-lresample-x86_64-unknown-linux-gnu
-lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu
-lilbccodec-x86_64-unknown-linux-gnu
-lg7221codec-x86_64-unknown-linux-gnu
-lportaudio-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu
-lssl -lcrypto -luuid -lm -lrt -lpthread

Your pkg-config file is specifying /usr/local/lib - are there any
remaining libpj files in there?

ls -al /usr/local/lib/libpj*.so
ls -al /usr/local/lib/libpj*.a


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

That folder doesn¹t have any libpj files in it. How do I make it find the
real ones?


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jcolp at digium.com
Guest





PostPosted: Thu Sep 24, 2015 12:30 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

Ryan, Travis wrote:
Quote:
That folder doesn¹t have any libpj files in it. How do I make it find the
real ones?

You can delete libpjproject.pc from the places it currently exists and
then reinstall pjproject. That should put a proper pkg-config file in.
Then doing a make distclean and make of Asterisk may work.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
RyanT at OscarWinski.com
Guest





PostPosted: Thu Sep 24, 2015 1:06 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

On 9/24/15, 1:30 PM, "asterisk-users-bounces@lists.digium.com on behalf of
Joshua Colp" <asterisk-users-bounces@lists.digium.com on behalf of
jcolp@digium.com> wrote:

Quote:
Ryan, Travis wrote:
Quote:
That folder doesn©öt have any libpj files in it. How do I make it find
the
real ones?

You can delete libpjproject.pc from the places it currently exists and
then reinstall pjproject. That should put a proper pkg-config file in.
Then doing a make distclean and make of Asterisk may work.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

I think i¡¯m down to the right set of pj and only have one of the files for
pkg-config but now asterisk doesn¡¯t see that it¡¯s installed. Also ldconfig
is showing right info.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jcolp at digium.com
Guest





PostPosted: Thu Sep 24, 2015 1:11 pm    Post subject: [asterisk-users] problems with PJSIP install on UBUNTU 14.04 Reply with quote

Ryan, Travis wrote:
Quote:
I think i¡¯m down to the right set of pj and only have one of the files for
pkg-config but now asterisk doesn¡¯t see that it¡¯s installed. Also ldconfig
is showing right info.



What does pkg-config --libs libpjproject show now? That is what Asterisk
uses.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services