Libtorrent issue in Debian Stretch preventing deluged from starting?

General support for problems installing or using Deluge
Protected
New User
New User
Posts: 3
Joined: Sun Dec 03, 2017 3:55 am
OS or Distro: Debian 9

Libtorrent issue in Debian Stretch preventing deluged from starting?

Postby Protected » Sun Dec 03, 2017 4:02 am

Hello. I had deluged working just fine on a server running Debian Jessie. I believe it had libtorrent-rasterbar8 as a dependency. Today I had to upgrade to Debian Stretch for unrelated reasons and, while everything else in the server seems to be working fine, and the package tree seems to be correctly installed (now with libtorrent-rasterbar9), I can't start deluged anymore:

Code: Select all

[ERROR   ] 02:27:50 main:248 libboost_chrono.so.1.55.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 241, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 144, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 38, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: libboost_chrono.so.1.55.0: cannot open shared object file: No such file or directory


Code: Select all

# python -c "from deluge._libtorrent import lt; print lt.version"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: libboost_chrono.so.1.55.0: cannot open shared object file: No such file or directory


Present in the server: /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.62.0

I tried adding symbolic links with the name libboost_chrono.so.1.55.0 but it made no difference.

Is there a headache-free way to fix this?

shamael
Super Seeder
Super Seeder
Posts: 297
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Libtorrent issue in Debian Stretch preventing deluged from starting?

Postby shamael » Mon Dec 04, 2017 10:45 am


Protected
New User
New User
Posts: 3
Joined: Sun Dec 03, 2017 3:55 am
OS or Distro: Debian 9

Re: Libtorrent issue in Debian Stretch preventing deluged from starting?

Postby Protected » Wed Dec 06, 2017 1:20 am

Ok, I can't use that solution because libboost-system1.58.0 is missing. Ideas?

shamael
Super Seeder
Super Seeder
Posts: 297
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Libtorrent issue in Debian Stretch preventing deluged from starting?

Postby shamael » Wed Dec 06, 2017 12:28 pm

Can't you install it with from the same repo?

Protected
New User
New User
Posts: 3
Joined: Sun Dec 03, 2017 3:55 am
OS or Distro: Debian 9

Re: Libtorrent issue in Debian Stretch preventing deluged from starting?

Postby Protected » Wed Dec 06, 2017 2:12 pm

It doesn't seem so

shamael
Super Seeder
Super Seeder
Posts: 297
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Libtorrent issue in Debian Stretch preventing deluged from starting?

Postby shamael » Thu Dec 07, 2017 4:36 pm

As a matter of test for my next Stretch migration I installed a new Jessie VM with Deluge from Trusty PPA (with trusty in source.list so). After settings all as it should and having a running Deluge setup I upgraded from Jessie to Stretch (9.2). Deluge remains functional, even after the "apt-get autoremove".

Still present on my system
sudo dpkg -l|grep -i libboost

Code: Select all

ii  libboost-chrono1.62.0:amd64     1.62.0+dfsg-4                  amd64        C++ representation of time duration, time point, and clocks
ii  libboost-filesystem1.62.0:amd64 1.62.0+dfsg-4                  amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-iostreams1.55.0:amd64  1.55.0+dfsg-3                  amd64        Boost.Iostreams Library
ii  libboost-iostreams1.62.0:amd64  1.62.0+dfsg-4                  amd64        Boost.Iostreams Library
rc  libboost-python1.55.0           1.55.0+dfsg-3                  amd64        Boost.Python Library
ii  libboost-python1.62.0           1.62.0+dfsg-4                  amd64        Boost.Python Library
ii  libboost-random1.62.0:amd64     1.62.0+dfsg-4                  amd64        Boost Random Number Library
ii  libboost-system1.55.0:amd64     1.55.0+dfsg-3                  amd64        Operating system (e.g. diagnostics support) library
ii  libboost-system1.62.0:amd64     1.62.0+dfsg-4                  amd64        Operating system (e.g. diagnostics support) library


sudo dpkg -l|grep -i rasterbar

Code: Select all

ii  libtorrent-rasterbar8           1.0.11-1~trusty~ppa1.1         amd64        C++ bittorrent library by Rasterbar Software
ii  libtorrent-rasterbar9           1.1.1-1+b1                     amd64        C++ bittorrent library by Rasterbar Software
ii  python-libtorrent               1.1.1-1+b1                     amd64        Python bindings for libtorrent-rasterbar


So strictly speaking the upgrade to Stretch did not broken the setup, libtorrent-rasterbar8 coming from PPA
sudo apt-cache -t trusty search libtorrent-rasterbar8

Code: Select all

libtorrent-rasterbar8 - C++ bittorrent library by Rasterbar Software


Now what about you? Well I guess you are already a step forward and above doesn't help. I considered your issue on a new Stretch installation so you can follow the below steps in any case.

#Add to source.list the trusty PPA and backport Jessie repo
deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu zesty main
deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu zesty main
deb http://deb.debian.org/debian jessie-backports main contrib non-free

#add PPA key (if not done yet)
sudo apt-get install dirmngr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 249AD24C

#update
sudo apt-get update

#install libssl from Jessie version
sudo apt-get -t jessie-backports install libssl1.0.0

#install deluge
sudo apt-get install -t zesty libtorrent-rasterbar8 python-libtorrent
sudo apt-get install -t zesty deluged deluge-web deluge-console

This way I get Deluge installed on Stretch, so considering your profile is safe you should be good to go.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 9 guests