Page 1 of 1

Deluge using another version of libtorrent

Posted: Sun Sep 08, 2013 11:00 pm
by markoSpigel
Hi,
I can't for the life of me successfully compile libtorrent for deluge on Ubuntu 13.04 x64.
Tried a few libtorrent versions RC_15 and RC_16
Grabbed dependencies for it, configured with --enable-python-binding, etc, all that went successfully,

Went on to build deluge 1.3.6, got it built and installed but deluge --version gets me a nice seg fault.

Code: Select all

deluge: 1.3.6
Segmentation fault (core dumped)
Tried libtorrent from svn and tarballs from ubuntu launchpad.

Is there a guide or can someone please offer some insight.

Re: Deluge using another version of libtorrent

Posted: Fri Sep 13, 2013 1:43 pm
by bro
Hi

If you can run the following command in the terminal, then you built an installed libtorrent correctly.

Code: Select all

$ python -c "import libtorrent as lt; print lt.version"
It should print the libtorrent version on success.

You can try to run deluge --version in gdb and see what causes the segmentation fault.

Code: Select all

$ gdb --args python /path/to/deluge --version
/path/to/deluge should be the output of

Code: Select all

$ which deluge
First execute run in the gdb shell, and when that fails, execute backtrace to see the stack trace.