Upgrading pjproject


#1

Hello,

I am having a problem when I try to bundle pjproject 2.5 with my asterisk 14.2.1 centos 7 configuration.

asterisk: error while loading shared libraries: libasteriskpj.so: cannot open shared object file: No such file or directory

I haven’t been able to find any data on the issue, and I don’t get any errors on compiling until I go to start asterisk.
If I recompile with 2.3 everything works normally, but I am getting random segfaults on 2.3, and im told upgrading to 2.5 would solve the problem.

Any advise would be greatly appreciated.


#2

Have you pass the –with-pjproject-bundled option to the configure script

./configure --with-pjproject-bundled


#3

Yes, that’s what I’m doing.


#5

It turns out this particular library was being put into /usr/lib/ instead of /usr/lib64 I recompiled specifying the /usr/lib64 directory and it worked.