qbittorrent + Ubuntu 12.04 LTS = libboost_filesystem.so.1.40.0 error

Linux specific questions, problems.
Post Reply
jorma

qbittorrent + Ubuntu 12.04 LTS = libboost_filesystem.so.1.40.0 error

Post by jorma »

Cannot get qbittorrent to work anymore with 12.04, i have tried to uninstall it and then install it back without a success.
I get libboost error, see below.

Code: Select all

root@NAS:/home/jorma/.config/qBittorrent# apt-get remove --purge qBittorrent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  qbittorrent*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 5,859 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 258205 files and directories currently installed.)
Removing qbittorrent ...
Purging configuration files for qbittorrent ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for hicolor-icon-theme ...

Code: Select all

root@NAS:/home/jorma# apt-get install qBittorrent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  qbittorrent-dbg
The following NEW packages will be installed:
  qbittorrent
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,839 kB of archives.
After this operation, 5,859 kB of additional disk space will be used.
Selecting previously unselected package qbittorrent.
(Reading database ... 258184 files and directories currently installed.)
Unpacking qbittorrent (from .../qbittorrent_2.9.10-0ubuntu2~precise_i386.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up qbittorrent 2.9.10-0ubuntu2~precise) ...
Processing triggers for menu ...

Code: Select all

root@NAS:/home/jorma# qbittorrent
qbittorrent: error while loading shared libraries: libboost_filesystem.so.1.40.0: cannot open shared object file: No such file or directory
pragmaticenigma

Re: qbittorrent + Ubuntu 12.04 LTS = libboost_filesystem.so.1.40.0 error

Post by pragmaticenigma »

Which version of qBitTorrent are you installing? Have you installed the PPA for qBitTorrent into Apt?

Currently running 12.04 LTS and qBitTorrent 2.9.10 here using the qBitTorrent PPA as my install repo.
jorma

Re: qbittorrent + Ubuntu 12.04 LTS = libboost_filesystem.so.1.40.0 error

Post by jorma »

[quote="pragmaticenigma"]
Which version of qBitTorrent are you installing? Have you installed the PPA for qBitTorrent into Apt?

Currently running 12.04 LTS and qBitTorrent 2.9.10 here using the qBitTorrent PPA as my install repo.
[/quote]

2.9.10 from hydr0g3n PPA
https://launchpad.net/~hydr0g3n/+archive/ppa/

Code: Select all

sudo apt-get install qbittorrent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  qbittorrent-dbg
The following packages will be upgraded:
  qbittorrent
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 2,778 kB of archives.
After this operation, 410 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/hydr0g3n/qbittorrent-unstable/ubuntu/ precise/main qbittorrent i386 3.0.0~beta4-0ubuntu2~precise [2,778 kB]
Fetched 2,778 kB in 3s (731 kB/s)        
(Reading database ... 258207 files and directories currently installed.)
Preparing to replace qbittorrent 2.9.10-0ubuntu2~precise (using .../qbittorrent_3.0.0~beta4-0ubuntu2~precise_i386.deb) ...
Unpacking replacement qbittorrent ...
Processing triggers for man-db ...
gdbm fatal: read error
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for menu ...
Setting up qbittorrent (3.0.0~beta4-0ubuntu2~precise) ...
Processing triggers for menu ...

jorma@NAS:~/Desktop/test$ qbittorrent
qbittorrent: error while loading shared libraries: libboost_filesystem.so.1.40.0: cannot open shared object file: No such file or directory
pragmaticenigma

Re: qbittorrent + Ubuntu 12.04 LTS = libboost_filesystem.so.1.40.0 error

Post by pragmaticenigma »

From the output of your apt-get installation log, you are setup to install the BETA version of qbittorrent which will have dependencies not available in your other repositories.  Please make sure you are installing the from the stable PPA.

The following commands, in this order should remove the Beta, remove the unstable ppa, reinstall the stable ppa, and install qbittorrent 2.9.10 stable.

Code: Select all

sudo apt-get remove qbittorrent
sudo apt-get autoremove
sudo apt-add-repository -r ppa:hydr0g3n/qbittorrent-unstable
sudo apt-add-repository ppa:hydr0g3n/ppa
sudo apt-get update
sudo apt-get install qbittorrent
If you read the output of your apt-get, you will see that it installed qbittorrent 3.0.0-Beta... meaning you have the unstable PPA enabled in your package manager.
an4rk

Re: qbittorrent + Ubuntu 12.04 LTS = libboost_filesystem.so.1.40.0 error

Post by an4rk »

I am getting the same error.

Code: Select all

an@hellfyr:~$ qbittorrent 
qbittorrent: error while loading shared libraries: libboost_filesystem.so.1.40.0: cannot open shared object file: No such file or directory
I have uninstalled and reinstalled qbt from the PPA (stable).

EDIT

after symlink'ing libboost_filesystem.so.1.48.0 and libboost_thread.so.1.46.1 to v1.40.0 I make a little progress.

Now I am getting this error.

Code: Select all

an@hellfyr:~$ qbittorrent 
Couldn't set environment variable...
qbittorrent: symbol lookup error: qbittorrent: undefined symbol: _ZN10libtorrent7sessionC1ERKNS_11fingerprintEii
Last edited by an4rk on Mon Jul 02, 2012 6:02 am, edited 1 time in total.
Post Reply