dyld: lazy symbol binding failed
This is on OS X, possibly related to the boost 1.60 problems (https://github.com/Homebrew/homebrew-science/issues/3237). After reinstalling graph-tool dependencies and graph-tool from HEAD, I got the following runtime error message on a call to pyplot.savefig
after using graph_tool.draw.graph_draw
with mplfig:
dyld: lazy symbol binding failed: Symbol not found: __ZN10graph_tool6detail15action_dispatchIN5boost6lambda14lambda_functorINS3_19lambda_functor_baseINS3_12other_actionINS3_17assignment_actionEEENS2_6tuples5tupleINS4_INS3_8identityIRmEEEENS4_INS5_INS3_6actionILi2ENS3_15function_actionILi2EmEEEENSA_IKNS_15HardNumVerticesEKNS4_INS3_11placeholderILi1EEEEENS9_9null_typeESP_SP_SP_SP_SP_SP_SP_EEEEEESP_SP_SP_SP_SP_SP_SP_SP_EEEEEEN4mpl_5bool_ILb0EEEJNS0_15all_graph_viewsEEEC1ERKS10_
Referenced from: /usr/local/lib/python3.5/site-packages/graph_tool/libgraph_tool_core.so
Expected in: flat namespace
dyld: Symbol not found: __ZN10graph_tool6detail15action_dispatchIN5boost6lambda14lambda_functorINS3_19lambda_functor_baseINS3_12other_actionINS3_17assignment_actionEEENS2_6tuples5tupleINS4_INS3_8identityIRmEEEENS4_INS5_INS3_6actionILi2ENS3_15function_actionILi2EmEEEENSA_IKNS_15HardNumVerticesEKNS4_INS3_11placeholderILi1EEEEENS9_9null_typeESP_SP_SP_SP_SP_SP_SP_EEEEEESP_SP_SP_SP_SP_SP_SP_SP_EEEEEEN4mpl_5bool_ILb0EEEJNS0_15all_graph_viewsEEEC1ERKS10_
Referenced from: /usr/local/lib/python3.5/site-packages/graph_tool/libgraph_tool_core.so
Expected in: flat namespace
The only warning I got during compilation with Homebrew was:
Warning: homebrew/science/graph-tool dependency gcc was built with a different C++ standard
library (libstdc++ from clang). This may cause problems at runtime.
🍺 /usr/local/Cellar/graph-tool/HEAD: 250 files, 202M, built in 27 minutes 28 seconds
But I'm pretty sure I've seen that before.