Tiago de Paula Peixoto schrieb:
Well, if you did "make install" the libgraph_tool.so module should have been installed, by default, in a place where python could find it, and everything should have worked... Are you sure the prefix you used for the installation is the same where python is installed, and that the place where libgraph_tool.so ended up is known to the python interpreter (via the PYTHONPATH variable)?
In any case, if you don't want to install it all, you can just put both graph-tool and libgraph_tool.so (found in src/graph/.libs after compilation) in the same directory, and it should work.
Yeah, this finds the library at least: $ PYTHONPATH=/usr/local/lib/python2.4/site-packages/ graph-tool Traceback (most recent call last): File "/usr/local/bin/graph-tool", line 22, in ? from libgraph_tool import * ImportError: /usr/local/lib/python2.4/site-packages/libgraph_tool.so: undefined symbol: _ZN5boost6python3apineERKNS1_6objectES4_ Of course, the graph-tool file and the libs are both from the same build ... Compiler is still $ g++ --version g++ (GCC) 4.1.1 (Gentoo 4.1.1-r3) on Gentoo amd64, Boost is Gentoo packages 1.33.1-r1