Page 1 of 5

Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Sat Apr 11, 2015 8:25 pm
by robnitro
For those with issues with speed, try this newer libtorrent.pyd that I finally learned how to compile for windows.

Stop deluge. Back up your libtorrent.pyd file.
Copy this one over the old one.
Restart deluge.
In ltconfig plugin you can see if its running 1.0.4

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Wed Apr 15, 2015 8:44 pm
by demlasjr
Hi. It's not working. It crash the daemon.

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Fri Apr 17, 2015 1:36 am
by robnitro
No idea, it's working fine for me on win7 x64 for a few days since.

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Sat Apr 18, 2015 5:02 pm
by JayMan
crashed Deluge Deamon on server 2012.

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Sat Apr 18, 2015 5:30 pm
by demlasjr
I guess libtorrent need to be compiled on our devices in order to work. We can't get it from other devices.

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Mon Apr 27, 2015 10:47 pm
by Shryp
This OP's version crashed my setup too. I managed to build my own copy today and the client seems to load without issues. Haven't tried downloading anything yet, but thought I would share it and see if it works for other people. Let me know if you try it so I know if it works or not.

Using:
Windows 7 64 bit
Deluge 1.3.11 python 2.7 version
libtorrent 1.0.4.0
browsebutton 0.1.7
LabelPlus 0.3.1.0
ltConfig 0.2.4.1
YaRSS2 1.3.3

http://shryp.ashendust.com/deluge/libto ... .4.pyd.zip

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Tue Apr 28, 2015 6:55 am
by robnitro
Shyrp, your file works on my deluge! It's a tiny bit bigger, so maybe there were new things added to boost or openssl?

Odd that it would cause issues on other machines. I compiled this on my desktop, x64 win 7. Copied over to my server, similar hardware and win 7 x64. But the build environment is boost/visual c and openssl, which is independent?

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Tue Apr 28, 2015 9:01 am
by Shryp
robnitro wrote:Shyrp, your file works on my deluge! It's a tiny bit bigger, so maybe there were new things added to boost or openssl?

Odd that it would cause issues on other machines. I compiled this on my desktop, x64 win 7. Copied over to my server, similar hardware and win 7 x64. But the build environment is boost/visual c and openssl, which is independent?
I compiled it on my windows 7 x64 laptop and tested it on the laptop, my windows 7 desktop and a windows 7 virtual machine. Working fine so far.
boost 1_56_0 (57 and 58 gave errors on initial boost build config)
Python 2.7.9 32 bit (the 64 bit version was not allowing it to compile)
OpenSSL 1.0.2a 32 bit - not the light version
VC++ Compiler for Python (this one looked free, the other one looked like you had to pay)

And just followed the wiki and used the same build config listed there.
http://dev.deluge-torrent.org/wiki/Building/libtorrent

b2 -j4 boost=source link=static geoip=static boost-link=static release optimization=space encryption=openssl

I added the j4 option. It enables 4 threads for multi core processors.

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Wed Apr 29, 2015 3:34 am
by robnitro
I didn't use the VC++ for python, I used the ms VC 10

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Posted: Sun May 03, 2015 12:27 am
by demlasjr
Thanks Shyrp, yours it's working just fine on my pc!