Update libtorrent with deluge 1.3.3

General support for problems installing or using Deluge
Locked
H320
Member
Member
Posts: 16
Joined: Wed Aug 17, 2011 2:03 pm

Update libtorrent with deluge 1.3.3

Post by H320 »

Hi,

It is possible to safely update the version of libtorrent ?
If yes how ?

With setup.py ? or with the make file ?
http://www.rasterbar.com/products/libto ... nding.html

Config info :
Debian 6.0.2
deluge: 1.3.3
libtorrent: 0.14.10.0

Thanks in advance.
H320
Member
Member
Posts: 16
Joined: Wed Aug 17, 2011 2:03 pm

Re: Update libtorrent with deluge 1.3.3

Post by H320 »

I finally manage to update libtorrent with version 0.15.7 from the sources.

The sources : http://code.google.com/p/libtorrent/downloads/list

What I did :

Code: Select all

 ./configure --enable-python-binding
cd bindings/python/
python setup.py build
python setup.py install
cd ../..
make
make install
Check the install :

Code: Select all

python -c "import libtorrent as lt; print lt.version"
Check by deluge

Code: Select all

 deluge --version
Should show you :
deluge: 1.3.3
libtorrent: 0.15.7.0
Python binding (http://www.rasterbar.com/products/libto ... nding.html)
evolvtyon

Re: Update libtorrent with deluge 1.3.3

Post by evolvtyon »

Hi,

I know this is an old post and all but are there any thoughts on how to do this in windows?

Thanks
HolgiH
New User
New User
Posts: 9
Joined: Mon Aug 01, 2011 12:50 pm

Re: Update libtorrent with deluge 1.3.3

Post by HolgiH »

evolvtyon wrote: I know this is an old post and all but are there any thoughts on how to do this in windows?
The easiest way is to extract libtorrent from the upstream msi package. Download the prebuilt libtorrent package for Windows (from Google Code), extract it manually (see http://thebackroomtech.com/2009/05/20/t ... extractor/) and put the extracted libtorrent.pyd into Deluge's installation directory, overwriting the old one. Maybe rename/backup the old version first.
This worked fine for me for several versions.
DanielDC88
Member
Member
Posts: 25
Joined: Fri Jul 24, 2015 9:56 pm

Re: Update libtorrent with deluge 1.3.3

Post by DanielDC88 »

Apologies for replying to a three year old post, but when I try andf do this with anewer version of libtorrent I get the following message:


pi@Pi-NAS ~/libtorrent-rasterbar-0.16.13/bindings/python $ python setup.py build
running build
running build_ext
building 'libtorrent' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/opt/local/include -I/opt/local/include -I/usr/include/python2.7 -c src/utility.cpp -o build/temp.linux-armv6l-2.7/src/utility.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
In file included from src/utility.cpp:5:0:
../../include/libtorrent/identify_client.hpp:40:30: fatal error: boost/optional.hpp: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Any ideas?

Thanks!
H320
Member
Member
Posts: 16
Joined: Wed Aug 17, 2011 2:03 pm

Re: Update libtorrent with deluge 1.3.3

Post by H320 »

Hello,

I was following this topic.

In order to build libtorrent some dependcies are required. You should try to do a './configure' before trying to build in order to verify that your system is able to build libtorrent.

In your case the error indicates that the boost library is not present on your system.

The documentation could help you further:
http://www.libtorrent.org/building.html

bye
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Update libtorrent with deluge 1.3.3

Post by Shryp »

0.16.13 is old too. Why not download 1.0.6?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Update libtorrent with deluge 1.3.3

Post by Cas »

Please don't hijack old threads, the wiki guide with precise steps was already link in your original thread. http://dev.deluge-torrent.org/wiki/Building/libtorrent
Locked