Closed ghost closed 10 years ago
This is not a PyTox issue. It is because tox.so can't find libtoxcore.so.0
Where is your tox installed? If you installed it locally, you may need to set the LD_LIBRARY_PATH
for ld to find libtoxcore.so
It's in the default location, and libtoxcore.so.0 is in "/usr/local/lib".
How would i go on to fix this?
Can you rebuild PyTox again? I just removed a deprecated API from toxcore. Can you try the command:
export LD_LIBRARY_PATH=/usr/local/lib
Then try import PyTox?
Okay, this fixed the issue. Successfully imports tox now.
Thanks for your help.
I've compiled and installed Tox from source and installed PyTox.
However i get this error when i try to import tox in python:
ImportError: libtoxcore.so.0: cannot open shared object file: No such file or directory
Is this a PyTox issue or is this related to something else?