On Wed, Jan 9, 2013 at 11:21 AM, Tiago de Paula Peixoto <[email protected]> wrote:
>>
>> It crashes while importing the boost lib (so it seems).
>>
>> Uninstalled and recompiled the boost library (via MacPorts) but am
>> getting the same problem. Anything else to try?
>
> I haven't seen this error before, but googling around suggest this may
> happen if graph-tool is being linked with the system's python libraries,
> whereas boost-python was compiled with the macports version. Please
> check if this is the case, and if so it may be a good idea to report the
> bug to macports people.
Thanks. Is the output of "otool -L" enough to see what libraries they are using?
Here's the output -- in case you can see right away what is wrong there:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.0)
/opt/local/lib/libboost_iostreams-mt.dylib (compatibility version
0.0.0, current version 0.0.0)
/opt/local/lib/libboost_python-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libboost_regex-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libCGAL.10.dylib (compatibility version 10.0.0,
current version 10.0.0)
/opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0, current
version 8.0.0)
/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current
version 1.0.6)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 169.3.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 56.0.0)
/opt/local/lib/libboost_python-mt.dylib:
/opt/local/lib/libboost_python-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 56.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 169.3.0)
Both are using the same version of Pyhon (as far I can guess from "otool -L").
P.S. If this won't solve it, will take it to the MacPorts list.
Cheers,
Uldis
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool