Hello, I see recently many people have had one problem or another to run graph-tool on mac os x. I've been able to build graph-tool on Lion, with apple gcc 4.2, boost 1.47 and python 2.7.2 (these last two from homebrew). The problem is that graph_tool doesn't import: ImportError Traceback (most recent call last) /Users/hammer/TIS/java-hacking/giraph/<ipython-input-1-100bbe2bc9d9> in <module>() ----> 1 from graph_tool.all import * /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/__init__.py in <module>() 89 import scipy.stats 90 ---> 91 from dl_import import * 92 dl_import("import libgraph_tool_core as libcore") 93 import libgraph_tool_core as libcore # for pylint /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/dl_import.py in <module>() 25 # handle strange python installations, by importing from the deprecated dl 26 # module ---> 27 from dl import RTLD_LAZY, RTLD_GLOBAL 28 29 __all__ = ["dl_import"] ImportError: No module named dl I noticed that DLFCN module is missing on my python install. I tried to substitute the RTLD_LAZY and RTLD_GLOBAL values (0x1 and 0x8) taken from the include file dlfcn.h into the setdlopenflags call in that same dl_import.py, but i get a trap back: Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap: 6 Do you have any idea? How did you guys get graph_tool working on mac os? thanks! -- Claudio Martella claudio.martella@vu.nl