1
上Lubuntu安装libtorrent 14.04 64位,当我尝试安装德libtorrent库我得到这个配置错误:误差与升压
checking for boostlib >= 1.35... yes
checking whether the Boost::System library is available... yes
checking for exit in -l/usr/local/boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi/... no
checking for exit in -lboost_system-/usr/local/boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi/... no
configure: error: Could not link against boost_system-/usr/local/boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi/ !
我执行这样的:
[email protected]:~/trabajo/libtorrent-rasterbar-0.14.7$ ./configure --with-boost-system=/usr/local/boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi
有这目录上的文件:
[email protected]:~/trabajo/libtorrent-rasterbar-0.14.7$ ls /usr/local/boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi/
error_code.o libboost_system.so.1.57.0
我对静态库没有太多的想法,有人可以帮我 请?谢谢。
我试过了,结果是完全一样的,无论如何谢谢。 – 2014-11-23 10:48:59
你仍然得到这个输出的错误? “boost_system-/usr/local/boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi /” – Arvid 2014-11-24 07:52:06
是的,这是输出:在-lboost_system-/usr/local /boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi/libboost_system.so.1.57.0 ...否 configure:error:无法链接到boost_system-/usr/local/boost_1_57_0/bin.v2/libs/system/build/gcc-4.8/release/threading-multi/libboost_system.so.1.57.0! – 2014-11-24 13:41:01