错误:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
checking for boostlib >= 1.40 (104000)... yes configure: Boost CXXFLAGS: "-I/usr/include" configure: Boost LDFLAGS: "-L/usr/lib/x86_64-linux-gnu" checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes configure: Boost.System LIB: "-lboost_system" checking for libtorrent... no configure: error: Package requirements (libtorrent-rasterbar >= 1.1.10) were not met: No package 'libtorrent-rasterbar' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. |
解决方法:
先装boost
,建议装boost1.60
,安装方法见:
还可能出现:
然后继续安装libtorrent-rasterbar
:
wget https://github.com/arvidn/libtorrent/releases/download/v1.2.14/libtorrent-rasterbar-1.2.14.tar.gz
tar -xvf libtorrent-rasterbar-1.2.14.tar.gz
cd libtorrent-rasterbar-1.2.14
./configure
make
sudo make install
本文最后更新于2021年9月4日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!