Unresolved symbol error importing on OS X 10.11.5
I'm receiving the following error on import:
>>> from graph_tool import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/graph_tool/__init__.py", line 106, in <module> dl_import("from . import libgraph_tool_core as libcore") File "/usr/local/lib/python2.7/site-packages/graph_tool/dl_import.py", line 57, in dl_import exec(import_expr, local_dict, global_dict) File "<string>", line 1, in <module> ImportError: dlopen(/usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so, 8): Symbol not found: __ZN5boost6python6detail12gcc_demangleEPKc Referenced from: /usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so Expected in: flat namespace in /usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so
Which seems to be related to an issue described in the install FAQ (https://trac.macports.org/ticket/43086) however I am running on OS X 10.11.5 for which libc++ should be the standard. Everything but graph-tool was installed via homebrew (unfortunately the homebrew graph tool is still at 2.12).