Hi Tiago, I re-installed boost which is now linked to the correct python and re-installed CGAL. Now, at import I get a segfault: In [1]: from graph_tool.all import * Segmentation fault: 11 The only weird thing remaining, i guess, is the libgraph_tool_core.so linked to the Xcode python, I guess it could be the reason of this. Any idea of what's happening? -- Claudio Martella claudio.martella@vu.nl On Dec 30, 2011, at 7:45 PM, Tiago de Paula Peixoto wrote:
On 12/30/2011 04:32 PM, Martella, C. wrote:
Hi Tiago,
I re-homebrew-ed boost 1.47 and now otool shows linkage to homebrew-ed python. Still graph-tool is linked to Xcode's python (even exporting DYLD_LIBRARY_PATH your way). Anyway, I tried importing again graph_tool and this time I've got a new problem :)
[...]
ImportError: dlopen(/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so, 8): Library not loaded: /usr/local/lib/libboost_thread-mt.dylib Referenced from: /usr/local/lib/libCGAL.8.0.0.dylib Reason: image not found
which is correct as:
$ ls -l /usr/local/lib/libboost_thread-mt.dylib ls: /usr/local/lib/libboost_thread-mt.dylib: No such file or directory
Apparently the only dylib missing is that for thread_mt.
Any idea what's going on?
It looks like CGAL is linked to the wrong boost... You should check with otool, and maybe recompile it.
Cheers, Tiago
-- Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool