I'm trying to compile pjsua2 from source, but receive this error when I to import the library in python 3.12 after building it:
Python 3.12.1 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import pjsua2Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/pjproject-2.14.1/pjsip-apps/src/swig/python/pjsua2.py", line 12, in <module> import _pjsua2ImportError: /pjproject-2.14.1/third_party/lib/libspeex.so.2: undefined symbol: pj_log_5
Here is how I am compiling:
export CFLAGS="$CFLAGS -fPIC"./configuremake dep && makesudo make installcd pjsip-apps/src/swig/pythonmakesudo make install
What am I missing?