Further to this, I build using:
./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin -DPJ_HAS_IPV6=0" --prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-video --disable-g722-codec --disable-libwebrtc --enable-epoll
Server is a 64 bit CentOS 6.10.
Thanks
//M
On Tue, Jun 18, 2019 at 5:54 PM Muhammad El-Sergani <msergani@xxxxxxxxx> wrote:
Hi all,I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use python 2.7 + pjsua2.Now this happens:[root@srv python]# python2.7
Python 2.7.16 (default, May 26 2019, 22:41:49)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pjsua2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pjsua2.py", line 15, in <module>
import _pjsua2
ImportError: /usr/lib64/libpjsip.so.2: undefined symbol: pj_pool_secure_release
Obviously this wasn't happening when I was running 2.8.Did I miss something during the upgrade? Did I have to delete 2.8 before building 2.9?Since I used --prefix=/usr --libdir=/usr/lib64 with the ./configure script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would override the older 2.8 ones.Appreciate your thoughts on this please.Thanks//M
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org