Hi community,
--
So I managed to build pjsua 2.7.2 on an Ubuntu server and looks like everything went well. When I tried to import pjsua, gave me some missing file error:
>>> 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: libpjsua.so.2: cannot open shared object file: No such file or directory
>>>
After troubleshooting with a colleague, we ended up having to manually export the LD_LIBRARY_PATH for all the missing lib dirs:
125 2018-08-20 22:16:50 export LD_LIBRARY_PATH=$PWD/pjsip/lib/:$LD_LIBRARY_PATH
126 2018-08-20 22:16:54 export LD_LIBRARY_PATH=$PWD/pjlib/lib/:$LD_LIBRARY_PATH
127 2018-08-20 22:17:13 export LD_LIBRARY_PATH=$PWD/pjnath/lib/:$LD_LIBRARY_PATH
128 2018-08-20 22:17:39 export LD_LIBRARY_PATH=$PWD/pjmedia/lib/:$LD_LIBRARY_PATH
129 2018-08-20 22:17:49 export LD_LIBRARY_PATH=$PWD/pjlib-util/lib/:$LD_LIBRARY_PATH
130 2018-08-20 22:17:59 export LD_LIBRARY_PATH=$PWD/third_party/lib/:$LD_LIBRARY_PATH
Am I missing a command line option when running ./configure to export all these paths? Or is there a known issue with the make process?
Thanks
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org