From 0c70b7f641ebf191377569dff4b40f7a9339a06e Mon Sep 17 00:00:00 2001 From: mylovesaber <36480362+mylovesaber@users.noreply.github.com> Date: Sun, 14 Jun 2020 13:10:11 +0800 Subject: [PATCH] Nothing new.Move the error information to the right place. --- Compilation:-CentOS-7.x.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/Compilation:-CentOS-7.x.md b/Compilation:-CentOS-7.x.md index a355386..fa9c8eb 100644 --- a/Compilation:-CentOS-7.x.md +++ b/Compilation:-CentOS-7.x.md @@ -81,7 +81,20 @@ make install ln -s /usr/lib/pkgconfig/libtorrent-rasterbar.pc /usr/lib64/pkgconfig/libtorrent-rasterbar.pc ``` -**Last command was missing and on 64bit systems will fail without it** +**Last command was missing and on 64bit systems will fail without it.Here is the error information:** +```txt +checking for libtorrent... no +configure: error: Package requirements (libtorrent-rasterbar >= 1.0.6) 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. + +Alternatively, you may set the environment variables libtorrent_CFLAGS +and libtorrent_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. +``` # Compiling qBittorrent (without the GUI) @@ -119,20 +132,8 @@ If are you facing a problem like this: ```txt qbittorrent-nox: error while loading shared libraries: libtorrent-rasterbar.so 10: cannot open shared object file: No such file or directory ``` -and this: -```txt -checking for libtorrent... no -configure: error: Package requirements (libtorrent-rasterbar >= 1.0.6) 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. - -Alternatively, you may set the environment variables libtorrent_CFLAGS -and libtorrent_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -``` This often happened when you are using 64-bit CentOS 7.x. And it's because of the libraries that the qBittorrent need are not in `/usr/lib64/`.