Ryan, Travis
2015-Sep-24 11:54 UTC
[asterisk-users] problems with PJSIP install on UBUNTU 14.04
-----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua Colp Sent: Thursday, September 24, 2015 6:23 AM To: asterisk-users at 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:> 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 at 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 at 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 at 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
Joshua Colp
2015-Sep-24 12:10 UTC
[asterisk-users] problems with PJSIP install on UBUNTU 14.04
On 15-09-24 08:54 AM, Ryan, Travis wrote:> > travis at 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 -lpthreadYour 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
Ryan, Travis
2015-Sep-24 17:26 UTC
[asterisk-users] problems with PJSIP install on UBUNTU 14.04
On 9/24/15, 8:10 AM, "asterisk-users-bounces at lists.digium.com on behalf of Joshua Colp" <asterisk-users-bounces at lists.digium.com on behalf of jcolp at digium.com> wrote:>On 15-09-24 08:54 AM, Ryan, Travis wrote: >> >> travis at 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?>