0
使用系统布局选项--layout=system
(使用brew edit boost155
设置)与冲泡安装升压后酿造环节推动自制蟒蛇
brew install boost155 --with-python --with-mpi --without-single
我发现我的boost库会谈到OSX蟒蛇,不是自制软件版本
$ otool -L `brew list boost155 | grep python.dylib` | grep -i python
/usr/local/Cellar/boost155/1.55.0_1/lib/libboost_mpi_python.dylib:
/usr/local/opt/boost155/lib/libboost_mpi_python.dylib (compatibility version 0.0.0, current version 0.0.0) @loader_path/libboost_python.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.0)
/usr/local/Cellar/boost155/1.55.0_1/lib/libboost_python.dylib: /usr/local/opt/boost155/lib/libboost_python.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.0)
如何链接boost到自制python库?