qBittorrent Not linking #7297

Closed
opened 2026-02-21 18:53:26 -05:00 by deekerman · 2 comments
Owner

Originally created by @jellymlg on GitHub (May 15, 2018).

qBittorrent version and Operating System

qBittorrent(4.1.0), Raspbian stretch

If on linux, libtorrent and Qt version

libtorrent-rasterbar9, Qt5

What is the problem

qBittorrent-nox fails to link

What is the expected behavior

qBittorrent links and i can install it with sudo make install

Extra info(if any)

cd src/ && ( test -e Makefile || /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake /home/pi/qbittorrent-4.1.0/src/src.pro QMAKE_LRELEASE= -o Makefile ) && make -f Makefile
make[1]: Entering directory '/home/pi/qbittorrent-4.1.0/src'
linking qbittorrent-nox
/usr/bin/ld: warning: libboost_system.so.1.61.0, needed by /usr/lib/arm-linux-gnueabihf//libtorrent-rasterbar.so, may conflict with libboost_system.so.1.62.0
session.o: In function 'entryListToSetImpl<libtorrent::bdecode_node>': /home/pi/qbittorrent-4.1.0/src/base/bittorrent/session.cpp:149: undefined reference to libtorrent::bdecode_node::list_string_value_at[abi:cxx11](int, char const*) const'
collect2: error: ld returned 1 exit status
Makefile:556: recipe for target 'qbittorrent-nox' failed
make[1]: *** [qbittorrent-nox] Error 1
make[1]: Leaving directory '/home/pi/qbittorrent-4.1.0/src'
Makefile:42: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2

Originally created by @jellymlg on GitHub (May 15, 2018). ### qBittorrent version and Operating System qBittorrent(4.1.0), Raspbian stretch ### If on linux, libtorrent and Qt version libtorrent-rasterbar9, Qt5 ### What is the problem qBittorrent-nox fails to link ### What is the expected behavior qBittorrent links and i can install it with sudo make install ### Extra info(if any) `cd src/ && ( test -e Makefile || /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake /home/pi/qbittorrent-4.1.0/src/src.pro QMAKE_LRELEASE= -o Makefile ) && make -f Makefile ` `make[1]: Entering directory '/home/pi/qbittorrent-4.1.0/src'` `linking qbittorrent-nox` `/usr/bin/ld: warning: libboost_system.so.1.61.0, needed by /usr/lib/arm-linux-gnueabihf//libtorrent-rasterbar.so, may conflict with libboost_system.so.1.62.0` `session.o: In function 'entryListToSetImpl<libtorrent::bdecode_node>': /home/pi/qbittorrent-4.1.0/src/base/bittorrent/session.cpp:149: undefined reference to libtorrent::bdecode_node::list_string_value_at[abi:cxx11](int, char const*) const'` `collect2: error: ld returned 1 exit status` `Makefile:556: recipe for target 'qbittorrent-nox' failed` `make[1]: *** [qbittorrent-nox] Error 1` `make[1]: Leaving directory '/home/pi/qbittorrent-4.1.0/src'` `Makefile:42: recipe for target 'sub-src-make_first' failed` `make: *** [sub-src-make_first] Error 2`
Author
Owner

@Kolcha commented on GitHub (May 15, 2018):

try to build libtorrent by yourself, possibly repo libtorrent version is build without C++11 support, what is essential for successful linking.
also remove one of boost versions: according to the liker warning message, you have boost 1.61 and 1.62

@Kolcha commented on GitHub (May 15, 2018): try to [build libtorrent by yourself](https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Libtorrent), possibly repo libtorrent version is build without C++11 support, what is essential for successful linking. also remove one of boost versions: according to the liker warning message, you have boost 1.61 and 1.62
Author
Owner

@jellymlg commented on GitHub (May 15, 2018):

Thanks for the quick response, i will try it.

EDIT: It worked for me, thank you. :)

@jellymlg commented on GitHub (May 15, 2018): Thanks for the quick response, i will try it. EDIT: It worked for me, thank you. :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#7297
No description provided.