ada1984 发表于 2017-8-22 10:09:39

最近开的10o,安装libtorrent库后查询不到

同样的安装命令安装过很多次了,这次不知道怎么回事就是查询不到,导致需要的qb版本安装不了
安装正常的机器是这样的:
$ pkg-config --list-all | grep libtorrent
libtorrent-rasterbar libtorrent-rasterbar - Bittorrent library.
Ubuntu 16.04 LTS

安装代码和返回结果:
   29git clone https://github.com/arvidn/libtorrent.git
   30cd libtorrent/
   31git checkout RC_1_0;
   32./autotool.sh;
   33./configure --disable-debug --enable-encryption --prefix=/usr/libtorrent --with-
libgeoip=system
The result ends with
Type 'make' to compile libtorrent-rasterbar 1.0.11
or type 'make V=1' for verbose compiling
and then 'make install' to install it into /usr

34make clean && make -j4
The result ends with
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/src'
Making all in examples
make: Entering directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/examples'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/examples'
Making all in test
make: Entering directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/test'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/test'
Making all in bindings
make: Entering directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/bindings'
Making all in python
make: Entering directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/bindings/python'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/bindings/python'
make: Entering directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/bindings'
make: Nothing to be done for 'all-am'.
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/bindings'
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/bindings'
Making all in tools
make: Entering directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/tools'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent/tools'
make: Entering directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent'
make: Nothing to be done for 'all-am'.
make: Leaving directory '/home/yellow/ipv6-dhclient-script/tmp/libtorrent'

   35make install
The result ends with:
Libraries have been installed in:
/usr/libtorrent/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:

add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
use the '-Wl,-rpath -Wl,LIBDIR' linker flag
have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

make: Nothing to be done for 'install-data-am'.
make: Leaving directory '/home/yellow/tmp/libtorrent/src'
make: Leaving directory '/home/yellow/tmp/libtorrent/src'
Making install in examples
make: Entering directory '/home/yellow/tmp/libtorrent/examples'
make: Entering directory '/home/yellow/tmp/libtorrent/examples'
make: Nothing to be done for 'install-data-am'.
make: Leaving directory '/home/yellow/tmp/libtorrent/examples'
make: Leaving directory '/home/yellow/tmp/libtorrent/examples'
Making install in test
make: Entering directory '/home/yellow/tmp/libtorrent/test'
make: Entering directory '/home/yellow/tmp/libtorrent/test'
make: Nothing to be done for 'install-exec-am'.
make: Nothing to be done for 'install-data-am'.
make: Leaving directory '/home/yellow/tmp/libtorrent/test'
make: Leaving directory '/home/yellow/tmp/libtorrent/test'
Making install in bindings
make: Entering directory '/home/yellow/tmp/libtorrent/bindings'
Making install in python
make: Entering directory '/home/yellow/tmp/libtorrent/bindings/python'
make: Entering directory '/home/yellow/tmp/libtorrent/bindings/python'
make: Nothing to be done for 'install-exec-am'.
make: Nothing to be done for 'install-data-am'.
make: Leaving directory '/home/yellow/tmp/libtorrent/bindings/python'
make: Leaving directory '/home/yellow/tmp/libtorrent/bindings/python'
make: Entering directory '/home/yellow/tmp/libtorrent/bindings'
make: Entering directory '/home/yellow/tmp/libtorrent/bindings'
make: Nothing to be done for 'install-exec-am'.
make: Nothing to be done for 'install-data-am'.
make: Leaving directory '/home/yellow/tmp/libtorrent/bindings'
make: Leaving directory '/home/yellow/tmp/libtorrent/bindings'
make: Leaving directory '/home/yellow/tmp/libtorrent/bindings'
Making install in tools
make: Entering directory '/home/yellow/tmp/libtorrent/tools'
make: Entering directory '/home/yellow/tmp/libtorrent/tools'
make: Nothing to be done for 'install-data-am'.
make: Leaving directory '/home/yellow/tmp/libtorrent/tools'
make: Leaving directory '/home/yellow/tmp/libtorrent/tools'
make: Entering directory '/home/yellow/tmp/libtorrent'
make: Entering directory '/home/yellow/tmp/libtorrent'
make: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/libtorrent/lib/pkgconfig'
/usr/bin/install -c -m 644 libtorrent-rasterbar.pc '/usr/libtorrent/lib/pkgconfig'
make: Leaving directory '/home/yellow/tmp/libtorrent'
make: Leaving directory '/home/yellow/tmp/libtorrent'

   36pkg-config --list-all | grep libtorrent
查无结果
页: [1]
查看完整版本: 最近开的10o,安装libtorrent库后查询不到