[C++-sig] ImportError...'No such file' etc. when importing hello_ext from tutorial

kekela at gmx.net kekela at gmx.net
Fri Dec 5 13:39:44 CET 2008


> Maybe your library path is incorrect. You may try (with bash)
> export LD_LIBRARY_PATH=path_to_your_libboost_python-gcc41-1_37.so.1.37.0

Now it works. Well, yes, there were 3 issues. First, I had skipped the "make install" part in "getting started with boost", i.e. I didn't have any libboost* files (of which I know explicitly). Second, LD_LIBRARY_PATH was not set and, third, libboost_python-gcc41-1_37.so.1.37.0 didn't exist after making. I just copied "libboost_python-gcc41-mt-1_37.so.1.37.0" to "libboost_python-gcc41-1_37.so.1.37.0" in $LD_LIBRARY_PATH/.

Thank you very much for your quick response.


More information about the Cplusplus-sig mailing list