編譯時遇到boost函式庫的問題 - Linux

By Anthony
at 2015-10-23T21:21
at 2015-10-23T21:21
Table of Contents
系統:opensuse13.2
我想要使用graph-tool,所以照著https://graph-tool.skewed.de/download
的指示更新了gcc到49,用source-install安裝了cgal和boost、boost-devel和python3
套件。
不過./configure時會到boost函式的區段停住,
編譯指令:
./configure PYTHON=/usr/bin/python3
錯誤訊息:
checking for boostlib >= 1.53.0... yes
checking whether the Boost::Python library is available... yes
checking for exit in -lboost_python... no
checking for exit in -lboost_python... (cached) no
configure: error: No usable boost::python found
我確定/usr/lib64裡有libboost_python.so的函式庫
有試著指定boost函式庫的位址再編譯:
./configure PYTHON=/usr/bin/python3 BOOST_INCLUDE=/usr/include/boost
BOOST_LIB=/usr/lib64
不過還是一樣的錯誤訊息。請問該怎麼才能繼續編譯下去?
--
我想要使用graph-tool,所以照著https://graph-tool.skewed.de/download
的指示更新了gcc到49,用source-install安裝了cgal和boost、boost-devel和python3
套件。
不過./configure時會到boost函式的區段停住,
編譯指令:
./configure PYTHON=/usr/bin/python3
錯誤訊息:
checking for boostlib >= 1.53.0... yes
checking whether the Boost::Python library is available... yes
checking for exit in -lboost_python... no
checking for exit in -lboost_python... (cached) no
configure: error: No usable boost::python found
我確定/usr/lib64裡有libboost_python.so的函式庫
有試著指定boost函式庫的位址再編譯:
./configure PYTHON=/usr/bin/python3 BOOST_INCLUDE=/usr/include/boost
BOOST_LIB=/usr/lib64
不過還是一樣的錯誤訊息。請問該怎麼才能繼續編譯下去?
--
Tags:
Linux
All Comments

By Zanna
at 2015-10-27T23:23
at 2015-10-27T23:23

By Andy
at 2015-10-29T21:28
at 2015-10-29T21:28

By Xanthe
at 2015-11-01T22:57
at 2015-11-01T22:57

By Sandy
at 2015-11-03T09:02
at 2015-11-03T09:02

By Jake
at 2015-11-04T22:09
at 2015-11-04T22:09
Related Posts
vm workstation環境移至vSphere client

By Necoo
at 2015-10-23T16:31
at 2015-10-23T16:31
Virtualbox guest處理file io很慢

By Olga
at 2015-10-23T15:55
at 2015-10-23T15:55
徵System Engineer/Server Application Pr

By Rosalind
at 2015-10-23T13:36
at 2015-10-23T13:36
觀看p2p影片

By Rosalind
at 2015-10-23T11:20
at 2015-10-23T11:20
Virtualbox guest處理file io很慢

By Yuri
at 2015-10-22T22:56
at 2015-10-22T22:56