> ImportError: > dlopen(/usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so, > 9): no suitable image found. Did find: > /usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so: > mach-o, but wrong architecture > >>>>>>>> > > These architecture issues on Mac are mystifying to me. How can > something be built for the wrong architecture if I just compiled it > for that architecture? sigh... Thanks any help you can provide.
I have very little experience with building stuff with multiple
architectures with apple's GCC, but according to the documentation you
should pass something like "-arch i386 -arch x86_64" to the compiler to
generate "universal" binaries. From the ./configure command you sent in
the first email, it did not seem you passed this. Hence you should try
something like:
./configure CXXFLAGS="-arch i386 -arch x86_64 -I/opt/local/include" <..your
other options..>
I hope it helps.
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
