2014-10-21, 12:52
Hello everyone,
I'am trying to integrate Asterisk with XBMC using PJSIP ( pjsip.org ),
So far i have managed to compile and build PJSIP on the OS and can import it into a python script from the OS (using a shell)
But when i try to import it into a python script from XBMC it doesn't see it as if the library never existed which makes me think that XBMC doesn't check paths like /usr/lib or /usr/local/lib for its python libraries how can i add those paths to XBMC to check as i need to import PJSIP into XBMC
I have tried copy/paste the library into my script and import it but XBMC gave a different error about its dependencies which exists on the OS libraries not XBMC's
Error Before copy/paste:
Error After copy/paste:
Note that libSDL2-2.0.so.0 exists on the system in /usr/local/lib and the script executes normally when run from a shell.
Any help would be appreciated,
Thanks.
I'am trying to integrate Asterisk with XBMC using PJSIP ( pjsip.org ),
So far i have managed to compile and build PJSIP on the OS and can import it into a python script from the OS (using a shell)
But when i try to import it into a python script from XBMC it doesn't see it as if the library never existed which makes me think that XBMC doesn't check paths like /usr/lib or /usr/local/lib for its python libraries how can i add those paths to XBMC to check as i need to import PJSIP into XBMC
I have tried copy/paste the library into my script and import it but XBMC gave a different error about its dependencies which exists on the OS libraries not XBMC's
Error Before copy/paste:
Code:
ImportError: No module named pjsua
Error After copy/paste:
Code:
ImportError: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
Note that libSDL2-2.0.so.0 exists on the system in /usr/local/lib and the script executes normally when run from a shell.
Any help would be appreciated,
Thanks.