static build with libtorrent

Asked by serg-k.

Is it possible to make a static build with libtorrent? This will prevent qbittorrent from conflict with rtorrent and his version of libtorrent.
I ask because this will make them co-installable, so it will be possible to migrate from rtorrent to qbittorrent without loosing tens on seeding torrents.

Question information

Language:
English Edit question
Status:
Solved
For:
qBittorrent Edit question
Assignee:
No assignee Edit question
Solved by:
Christophe Dumez
Solved:
Last query:
Last reply:
Revision history for this message
Best Christophe Dumez (hydr0g3n) said :
#1

Well, I guess indeed that this is the only solution.

However, I'm not planning to release any static build (sorry). Also, qBittorrent may be introduced in Debian soon and static build does not seem to be the Debian way. I saw the package from debian maintainer and I think he added a conflict between rblibtorrent / libtorrent too.

However, I don't think your seeding torrents should be lost. rTorrent probably stores the torrent files somewhere, just add them to qbittorrent and set the save path to the patch where you downloaded the files. qBittorrent will check the existing data the first time (which can be a bit long), then it will seed them.

Revision history for this message
serg-k. (unffire) said :
#2

Thank you for answer.

I hope that adding fiction-conflicts betweet "must be co-installable" software is not a Debian way too (i'm debian user). (I don't know, but maybe they should just rename the file in rlibtorrent package to rlibtorrent.so ...)

If qbittorrent was able to work with rtorrent at the same time I think that would help migration, because not many people are ready to give up (stop and uninstall) well-known software just to try another one (even if it is better, they just don't know until they try, but they do not try).

ps. imho

Revision history for this message
serg-k. (unffire) said :
#3

Thanks Christophe Dumez, that solved my question.

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#4

Hi,

rblibtorrent author agreed to rename its library to "libtorrent-rasterbar". The .so filename is now different and there soon won't be any conflict because the two libtorrent libraries. v0.13.1 with qbittorrent v1.1.0 will be coinstallable with rTorrent.

Revision history for this message
serg-k. (unffire) said :
#5

Great news. Thank you.