Search code examples
pythondebianboost-pythonpyv8

ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory


I am trying to install PyV8 to debian (I tried to ubuntu too)according the steps here http://www.wikisecure.net/importing-pyv8-engine-into-python-v2-7-the-easy-way/

However I always get ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory

I installed boost using apt-get install. I tried many manuals, how to install PyV8, but nothing work, so if anyone has something that worked or how fix my error, I would be pleased.

Thanks for advice


Solution

  • Try installing libboost-all-dev, the file you're missing should be in there.

    For clarity: What actually worked was copying and renaming a later version of libboost to 1.41. I would not recommend this as a fist solution, if getting the correct version is an option.