I tried today to build the python module by using `apt-get source` and then running `setup.py build` and `setup.py install`. I have the packages libpjsua2 and libpjproject-dev installed.
After a few false starts, the module *appears* to compile correctly: pjproject-2.1.0.0.ast20130823/pjsip-apps/src/python$ python setup.py build helper.mak:1: ../../../build.mak: No such file or directory make: *** No rule to make target '../../../build.mak'. Stop. helper.mak:1: ../../../build.mak: No such file or directory make: *** No rule to make target '../../../build.mak'. Stop. helper.mak:1: ../../../build.mak: No such file or directory make: *** No rule to make target '../../../build.mak'. Stop. running build running build_py running build_ext as root: pjproject-2.1.0.0.ast20130823/pjsip-apps/src/python# python setup.py install helper.mak:1: ../../../build.mak: No such file or directory make: *** No rule to make target '../../../build.mak'. Stop. helper.mak:1: ../../../build.mak: No such file or directory make: *** No rule to make target '../../../build.mak'. Stop. helper.mak:1: ../../../build.mak: No such file or directory make: *** No rule to make target '../../../build.mak'. Stop. running install running build running build_py running build_ext running install_lib running install_egg_info Removing /usr/local/lib/python2.7/dist-packages/pjsua-2.1.0.egg-info Writing /usr/local/lib/python2.7/dist-packages/pjsua-2.1.0.egg-info And yet: ython 2.7.10 (default, Jul 1 2015, 10:54:53) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pjsua Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pjsua.py", line 59, in <module> import _pjsua ImportError: /usr/local/lib/python2.7/dist-packages/_pjsua.so: undefined symbol: pjsua_start >>> import _pjsua Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/local/lib/python2.7/dist-packages/_pjsua.so: undefined symbol: pjsua_start >>> I don't know what to make of this except to think that the maybe module didn't build correctly? I will keep looking into it and report back here if I find a way to make it work.