#1198: Error at import libtorrent
----------------------+-----------------------------------------------------
 Reporter:  simonbcn  |       Owner:       
     Type:  bug       |      Status:  new  
 Priority:  blocker   |   Milestone:  1.4.0
Component:  core      |     Version:  1.2.1
 Keywords:            |  
----------------------+-----------------------------------------------------
 I have built deluge 1.2.2 and libtorrent-0.14.10 from source.[[BR]]
 libtorrent was build with this flags:
 {{{
 ./configure --disable-debug --enable-python-binding
 }}}

 But deluge can't import libtorrent:
 {{{
 [ERROR   ] main:216 libtorrent-rasterbar.so.5: can not open shared object
 file: No such file or directory
 Traceback (most recent call last):
   File "/usr/local/lib/python2.6/dist-
 packages/deluge-1.2.1-py2.6.egg/deluge/main.py", line 209, in start_daemon
     Daemon(options, args)
   File "/usr/local/lib/python2.6/dist-
 packages/deluge-1.2.1-py2.6.egg/deluge/core/daemon.py", line 136, in
 __init__
     from deluge.core.core import Core
   File "/usr/local/lib/python2.6/dist-
 packages/deluge-1.2.1-py2.6.egg/deluge/core/core.py", line 36, in <module>
     from deluge._libtorrent import lt
   File "/usr/local/lib/python2.6/dist-
 packages/deluge-1.2.1-py2.6.egg/deluge/_libtorrent.py", line 59, in
 <module>
     import libtorrent as lt
 ImportError: libtorrent-rasterbar.so.5: can not open shared object file:
 No such file or directory
 }}}

 But they exist in ''/usr/local/lib/'':
 {{{
 -rw-r--r-- 1 root root libtorrent-rasterbar.a
 -rwxr-xr-x 1 root root libtorrent-rasterbar.la
 lrwxrwxrwx 1 root root libtorrent-rasterbar.so -> libtorrent-
 rasterbar.so.5.0.0
 lrwxrwxrwx 1 root root libtorrent-rasterbar.so.5 -> libtorrent-
 rasterbar.so.5.0.0
 -rwxr-xr-x 1 root root libtorrent-rasterbar.so.5.0.0
 }}}

 And in ''/usr/local/lib/python2.6/dist-packages/'':
 {{{
 -rwxr-xr-x 1 root staff /usr/local/lib/python2.6/dist-
 packages/libtorrent.so
 -rw-r--r-- 1 root staff /usr/local/lib/python2.6/dist-
 packages/python_libtorrent-0.14.10-py2.6.egg-info
 }}}

 What's the problem?

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1198>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to