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

Ryan, Travis RyanT at OscarWinski.com
Wed Sep 23 08:54:46 CDT 2015




> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 9:39 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> Ryan, Travis wrote:
> > I've built PJSIP a few months ago on a server that was 12.04 and
> can't
> > remember how I got past this same issue. I've looked at the links
> I'll
> > put below and the comments section where others had the issue, but
> > those tips aren't helping either.
> >
> > Basically everything seems to compile and install correctly, but then
> > the "ldconfig -p | grep pj" doesn't show anything. So ldconfig when
> > ran by itself isn't picking up on the install of pjsip. Also when
> > going into the process of menuselect it shows that it's not available
> as a resource.
> 
> Do you have the pkg-config package installed? That is what the build
> system uses for finding the right stuff.
> 
> Also what does the following show:
> 
> ls /usr/lib/libpj*.so
> ls /usr/local/lib/libpj*.so
> 
> And what did you pass to the configure script for pjproject?
> 
[Ryan, Travis] 
travis at pcimphone1:~$ ls /usr/lib/libpj*.so
ls: cannot access /usr/lib/libpj*.so: No such file or directory
travis at pcimphone1:~$ ls /usr/local/lib/libpj*.so
ls: cannot access /usr/local/lib/libpj*.so: No such file or directory
travis at pcimphone1:~$ ls /usr/lib/libpj*.so
lib/   lib64/
travis at pcimphone1:~$ ls /usr/lib64/libpj*.so
/usr/lib64/libpjlib-util.so        /usr/lib64/libpjmedia-codec.so  /usr/lib64/libpjmedia-videodev.so  /usr/lib64/libpjsip-simple.so  /usr/lib64/libpjsip-ua.so  /usr/lib64/libpjsua2.so
/usr/lib64/libpjmedia-audiodev.so  /usr/lib64/libpjmedia.so        /usr/lib64/libpjnath.so            /usr/lib64/libpjsip.so         /usr/lib64/libpj.so        /usr/lib64/libpjsua.so


As you can see it put them in the lib64 folder. I've done the command and recompiled so many times with the following attempts....

./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'
./configure
./configure --prefix=/usr
./configure --libdir=/usr/lib64 --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr


[Ryan, Travis] 




More information about the asterisk-users mailing list