Building 1.2.2 from source using libtorrent-raster 0.14.9

General support for problems installing or using Deluge
Post Reply
Cheers

Building 1.2.2 from source using libtorrent-raster 0.14.9

Post by Cheers »

This is a build on Debian Lenny (stable)
tangerine:~/deluge/deluge-1.2.2# deluged -d
[ERROR ] 23:09:28 main:216 /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1: undefined symbol: Py_InitModule4
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/deluge-1.2.2-py2.5.egg/deluge/main.py", line 209, in start_daemon
Daemon(options, args)
File "/usr/lib/python2.5/site-packages/deluge-1.2.2-py2.5.egg/deluge/core/daemon.py", line 136, in __init__
from deluge.core.core import Core
File "/usr/lib/python2.5/site-packages/deluge-1.2.2-py2.5.egg/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/lib/python2.5/site-packages/deluge-1.2.2-py2.5.egg/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1: undefined symbol: Py_InitModule4
I've tried different combinations of Deluge and libtorrent, libboost etc. to no avail, this error always persists.

Any help greatly appreciated.

Regards,
Cheers
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Building 1.2.2 from source using libtorrent-raster 0.14.9

Post by Cas »

Cheers wrote:ImportError: /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1: undefined symbol: Py_InitModule4
A quick search found that if you running a 64-bit system there is problem with libboost 1.34 and python 2.5. From this mailing list.

My suggestion is to try build Deluge 1.2.3 with libtorrent 1.5.0.

N3M3SIS7 had the same issue on Lenny in this post but then recently posted this, so you could ask if he got it working.
Post Reply