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庫?