Failed to start with latest libtorrent-0.15

Bug #706633 reported by nE0sIghT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Medium
Christophe Dumez

Bug Description

Latest qbittorrent and libtorrent-0.15 trunk

Trying to start qbittorrent:

Peer ID: -qB2701-
qbittorrent: symbol lookup error: qbittorrent: undefined symbol: _ZN10libtorrent9load_fileERKN5boost10filesystem10basic_pathISsNS1_11path_traitsEEERSt6vectorIcSaIcEE

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

In libtorrent-0.15.5+svn, the libtorrent author changed the API (probably not on purpose). Until libtorrent v0.15.5 (latest stable release), everything is OK. I have notified the author.

Also, if you got this error, this means that you compiled against an older version libtorrent, and then installed a more recent version without recompiling qBittorrent: this is bad. In this particular case, you would have noticed that qBittorrent does not even compile against libtorrent RC_0_15 trunk.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Here is the patch I used on my Ubuntu PPA. However, it is likely that the issue gets resolved in libtorrent SVN in the next few days.

Revision history for this message
nE0sIghT (ne0sight) wrote :

Thanks for reply
I have just checked logs and found that i missed up qbittorrent's compilation fail

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

The libtorrent author says that load_file() is not part of the API. As a consequence, qBittorrent should not use it. Please find attached a better patch which removes any load_file() call.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Applied to SVN.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → Medium
milestone: none → 2.6.5
status: New → Fix Committed
Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.