On 01/09/2013 03:38 PM, Uldis Bojars wrote: > 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?
Yes, that gives the correct information. > 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"). Everything seems consistent. You should perhaps also try the same thing with the boost-python library file. > P.S. If this won't solve it, will take it to the MacPorts list. They'll probably have more experience with this sort of bug. Cheers, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
