Problems installing on Centos
Posted: Fri Mar 21, 2014 5:48 pm
I've recently moved from Fedora to Centos6 and woudl love to get qbittorrent back. However, it's not available in the repos so I'm trying to build from scratch.
So far, the libtorrent-rasterbar-0.16.15 will not build as it has a bug and won't recognise the libboost so have installed libtorrent-rasterbar-0.16.12
But when I attempt to execute qbit I get:
So far, the libtorrent-rasterbar-0.16.15 will not build as it has a bug and won't recognise the libboost so have installed libtorrent-rasterbar-0.16.12
I've then built qbittorrent-3.1.3 which built ok,[root@localhost qbittorrent-3.1.9]# find / -name libtorrent-rasterbar.so.7
/usr/lib/libtorrent-rasterbar.so.7
/usr/src/libtorrent-rasterbar-0.16.12/src/.libs/libtorrent-rasterbar.so.7
[root@localhost qbittorrent-3.1.9]# rpm -qa | grep libtorrent
libtorrent-0.13.2-1.el6.rf.x86_64
[root@localhost qbittorrent-3.1.9]# ./configure
Configuring qbittorrent ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.6 ... yes
Checking for QtDBus >= 4.5 ... yes
Checking for pkg-config executable ... yes
Checking for libtorrent-rasterbar >= 0.15.0 ... yes
Checking for libboost ... yes
Checking for GeoIP Database (optional) ... yes
Checking for qtsingleapplication library ... [shipped] yes
Project MESSAGE: Project is built in RELEASE mode.
Project MESSAGE: Disabling debug output.
Project MESSAGE: GeoIP database will not be embedded in qBittorrent executable.
...
Good, your configure finished. Now run /usr/bin/gmake.
[root@localhost qbittorrent-3.1.9]# /usr/bin/gmake
cd src/ && /usr/lib64/qt4/bin/qmake-qt4 /usr/src/qbittorrent-3.1.9/src/src.pro -unix -o Makefile
Project MESSAGE: Project is built in RELEASE mode.
Project MESSAGE: Disabling debug output.
Project MESSAGE: GeoIP database will not be embedded in qBittorrent executable.
cd src/ && /usr/bin/gmake -f Makefile
gmake[1]: Entering directory `/usr/src/qbittorrent-3.1.9/src'
...
lcrypto -lz -ltorrent-rasterbar -lboost_system-mt -lpthread -lQtDBus -lQtXml -lQtGui -lQtNetwork -lQtCore
gmake[1]: Leaving directory `/usr/src/qbittorrent-3.1.9/src'
[root@localhost qbittorrent-3.1.9]# make install
cd src/ && make -f Makefile install
make[1]: Entering directory `/usr/src/qbittorrent-3.1.9/src'
install -m 644 -p /usr/src/qbittorrent-3.1.9/doc/qbittorrent.1 /usr/local/share/man/man1/
install -m 644 -p /usr/src/qbittorrent-3.1.9/src/Icons/qBittorrent.desktop /usr/local/share/applications/
...
install -m 644 -p /usr/src/qbittorrent-3.1.9/src/menuicons/128x128/apps/qbittorrent.png /usr/local/share/pixmaps/
install -m 755 -p "qbittorrent" "/usr/local/bin/qbittorrent"
make[1]: Leaving directory `/usr/src/qbittorrent-3.1.9/src'
But when I attempt to execute qbit I get:
Any ideas?[root@localhost qbittorrent-3.1.9]# /usr/local/bin/qbittorrent
/usr/local/bin/qbittorrent: error while loading shared libraries: libtorrent-rasterbar.so.7: cannot open shared object file: No such file or directory