[SOLVED] Building from source

General support for problems installing or using Deluge
Post Reply
boredazfcuk
Member
Member
Posts: 22
Joined: Sun Jun 16, 2019 10:08 pm

[SOLVED] Building from source

Post by boredazfcuk »

Hey, everyone.

I'm trying to build everything form source, but I'm running into an issue.

When running:

Code: Select all

python3 setup.py build
I get the error:

Code: Select all

/bin/ld: cannot find -ltorrent-rasterbar
When I look in my /usr/local/lib directory, I can see the libtorrent.so.1.2.2 library file which I built with b2.

If I manually rename the file to libtorrent-rasterbar.so.1.2.2, change the links to point to the renamed file and re-run

Code: Select all

python3 setup.py build
then it succeeds.

Just wondering why my file is being generated with the wrong name? Has there been a change to arvidn/libtorrent which is causing the incorrect naming or is it a configurable option somewhere? I tried to set --program-suffix with configure, but that didn't work.

Cheers,

boredazfcuk
Last edited by boredazfcuk on Mon Oct 14, 2019 8:39 pm, edited 1 time in total.
boredazfcuk
Member
Member
Posts: 22
Joined: Sun Jun 16, 2019 10:08 pm

Re: Building from source

Post by boredazfcuk »

I figured it out in the end.

I was building b2 as per the libtorrent wiki. This was kicking out the /usr/lib/libtorrent.so file.

When compiling with make it names the library libtorrent-rasterbar.so instead.
Post Reply