[SOLVED] ImportError: libtorrent-rasterbar.so.6

General support for problems installing or using Deluge
Post Reply
lkt1215

[SOLVED] ImportError: libtorrent-rasterbar.so.6

Post by lkt1215 »

I'm trying to install Deluge 1.3.1 on RHEL6 from source (since there are no Deluge packages in repos or EPEL).
I have installed all dependencies, including libtorrent-rasterbar 0.15.5

libtorrent was installed with

Code: Select all

./configure --with-boost-libdir=/usr/lib64 --enable-python-binding
make
sudo make install
cd bindings/python/
python setup.py build
sudo python setup.py install
Still, when trying to start Deluge it says
File "/usr/lib/python2.6/site-packages/deluge-1.3.1-py2.6.egg/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: libtorrent-rasterbar.so.6: cannot open shared object file: No such file or directory
However locate says that the lib is present in /usr/lib:

Code: Select all

$ locate libtorrent | grep /usr/local
/usr/local/lib/libtorrent-rasterbar.a
/usr/local/lib/libtorrent-rasterbar.la
/usr/local/lib/libtorrent-rasterbar.so
/usr/local/lib/libtorrent-rasterbar.so.6
/usr/local/lib/libtorrent-rasterbar.so.6.0.0
/usr/local/lib/pkgconfig/libtorrent-rasterbar.pc
/usr/local/lib64/python2.6/site-packages/libtorrent.so
/usr/local/lib64/python2.6/site-packages/python_libtorrent-0.15.5-py2.6.egg-info
I tried making sudo ldconfig, it did not help..
Last edited by lkt1215 on Wed Feb 02, 2011 5:45 pm, edited 1 time in total.
lkt1215

Re: Failed to install - ImportError: libtorrent-rasterbar.so

Post by lkt1215 »

Okay, solved the problem by rebuilding and installing deluge again. Probably i shouldn't have built python bindings for libtorrent *after* i already installed deluge. :roll:
Post Reply