Uh, I’m sorry, didn’t express that clearly. libRocket is compiled, and there is an _rocketcore.so, located at ~/panda3d-1.8.0/thirdparty/linux-libs-x64/rocket/lib/python2.7/dist-packages/_rocketcore.so (the source dir) respectively /usr/local/lib/python2.7/dist-packages/_rocketcore.so (installed on the virtual machine). But in the built .deb-package, the file is missing and isn’t found.
joern@joern-Aspire-V3-571G:~/python/rocket-sample$ ppython test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
from panda3d.rocket import *
File "/usr/share/panda3d/panda3d.py", line 200, in __getattr__
for obj in dir(self.__manager__.libimport(lib)):
File "/usr/share/panda3d/panda3d.py", line 129, in libimport
raise ImportError, message
ImportError: DLL loader cannot find _rocketcore.
EDIT: WOOHOO! I have a workaround. I installed libRocket additionally to Panda3D. Just an addition to LD_LIBRARY_PATH is needed:
export LD_LIBRARY_PATH=§LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu/
If someone don’t want to compile it, I can provide a quick’n’dirty package, which I made with checkinstall. It’s downloadable here from my Google Drive.