BenV's notes

Deluge issue

by on Jan.02, 2010, under Software

This morning I noticed my torrent daemon (aka Deluge) was down.
Checking the logs revealed this:

[ERROR ] 12:22:01 main:216 cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/deluge/", line 209, in start_daemon
Daemon(options, args)
File "/usr/lib/python2.6/site-packages/deluge/core/", line 134, in __init__
from deluge.core.core import Core
File "/usr/lib/python2.6/site-packages/deluge/core/", line 36, in
from deluge._libtorrent import lt
File "/usr/lib/python2.6/site-packages/deluge/", line 59, in
import libtorrent as lt
ImportError: cannot open shared object file: No such file or directory

Interesting. Suddenly I reminded myself of some Slackware updates that probably installed a new version of boost yesterday, replacing my own version.

Oh well, since it seems to be the libtorrent part that’s bugging, I might as well upgrade it:

root@janeman:/usr/src$ wget
# Leech leech
root@janeman:/usr/src$ tar zxf libtorrent-rasterbar-0.14.7.tar.gz
# Kaboom, in your /usr/src
root@janeman:/usr/src$ cd libtorrent-rasterbar-0.14.7
root@janeman:/usr/src/libtorrent-rasterbar-0.14.7$ ./configure --prefix=/usr --enable-dependency-tracking --enable-shared --enable-static --enable-python-binding --with-boost --with-libgeoip
# lalala, junk
root@janeman:/usr/src/libtorrent-rasterbar-0.14.7$ make
# See you in an hour
root@janeman:/usr/src/libtorrent-rasterbar-0.14.7$ mkdir pkg ; make DESTDIR=`pwd`/pkg install && cd pkg
root@janeman:/usr/src/libtorrent-rasterbar-0.14.7/pkg$ makepkg /usr/src/packages/libtorrent-rasterbar-0.14.7-i386-1.tgz
root@janeman:/usr/src/libtorrent-rasterbar-0.14.7/pkg$ upgradepkg /usr/src/packages/libtorrent-rasterbar-0.14.7-i386-1.tgz

(or you could have used, it’s easier ;))

After upgrading the package, deluge starts again. Wheee.

:, , ,

Leave a Reply

You must be logged in to post a comment.