Hi Claudio, On 12/30/2011 02:46 PM, Martella, C. wrote:
Hi Tiago,
to be honest, I can't see how lib boost can be linked to python. I ldd it and couldn't find any linkage to python.
boost-python must be linked with python...
But the problem is indeed with libgraphtool being linked to Xcode python:
$ otool -L libgraph_tool_core.so libgraph_tool_core.so: /System/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.1) /usr/local/lib/libboost_iostreams-mt.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/local/lib/libboost_python-mt.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/local/lib/libboost_regex-mt.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0) /usr/local/lib/libCGAL.8.0.0.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
I don't get why/how it happened. Any idea?
It may be that your DYLD_LIBRARY_PATH environment variable does not have the correct value. Try adding the homebrew python path to it. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>