I am having a similar issue. I have the last dev version of panda3d installed from the deb package, Ubuntu Trusty. I ran an example code and python complained that it could not find libboost_python-py27a.so
I tried to solve by installing the libboost-python package and now it complains that
I am not sure what went wrong. Interestingly, before the current version of panda3d, I installed the 1.8.1 version from sources, then removed it via rm, and installed this latest version. I never installed librocket though.
the error appears because the boost was compiled with a python interpreter that set Py_UNICODE_SIZE to 2,
while evidently the version installed in my computer (python2.7.6) has the above macro set to 4. I installed Ubuntu 14.04 less than a month ago, so this must be some recent settings.
I am wondering if there is a way to get around this problem.