Boost.Python tutorial in Ubuntu 10.04

Posted by Doughy on Stack Overflow See other posts from Stack Overflow or by Doughy
Published on 2010-06-09T20:11:48Z Indexed on 2010/06/09 20:32 UTC
Read the original article Hit count: 483

Filed under:
|
|

I downloaded the latest version of Boost and I'm trying to get the Boost.python tutorial up and running on Ubuntu 10.04: http://www.boost.org/doc/libs/1_43_0/libs/python/doc/tutorial/doc/html/python/hello.html

I navigated to the correct directory, ran "bjam" and it compiled using default settings. I did not yet create a bjam config file. The compilation appears to have worked, but now I have no idea how to include the files in my python script. When I try to run the python hello world script, it gives me this error:

Traceback (most recent call last):
  File "./hello.py", line 6, in <module>
    import hello_ext
ImportError: libboost_python.so.1.43.0: cannot open shared object file: No such file or  directory

Anyone know what is going on?

© Stack Overflow or respective owner

Related posts about c++

Related posts about python