Closed mgaulton closed 3 years ago
this error happens when qBittorrent was build using one libtorrent version, but another is used on runtime. even if libtorrent versions are the same, build options my differ, and lead to this error message. see https://github.com/qbittorrent/qBittorrent/issues/12616#issuecomment-712762613 and below for details according to your info, you tried to start qbittorrent-nox from package available for your system, but compiled libtorrent from sources, so it will not work. to get everything work, firstly uninstall qbittorrent and libtorrent packages and and build both components from sources if you want.
Thanks for the info. I must have lucked out last time, as I was using the packaged QB but the manual compiled libtorrent and it worked for months. I must have got the right combo at the time. I'll take another crack at things. Thanks.
so I removed all packages and did the below and it still gives the same message so the packages are broken. I'll try a build both from scratch next. server6:~ # zypper in --force qbittorrent qbittorrent-nox libtorrent-rasterbar10 libtorrent-rasterbar2_0 python3-libtorrent-rasterbar
hmm I don't use QT so I can't seem to compile, even with GUI disabled. I'll have to keep poking
https://github.com/qbittorrent/qBittorrent/issues/13860#issuecomment-735221089 is right.
Build both qBittorrent and libtorrent from sractch, and make sure you have no leftover versions either installed via the package manager, or manually, located somewhere like /usr/local/*
.
I'll close this but keep unlocked for the benefit of anyone else who wants to help you troubleshoot the issue with your setup.
Please provide the following information
qBittorrent version and Operating System
Opensuse Tumbleweed, fully updated QB 4.3.1 from zypper package
If on linux, libtorrent-rasterbar and Qt version
no qt, using qbittorrent-nox latest from git repo
What is the problem
may be a reoccurrent of https://github.com/qbittorrent/qBittorrent/issues/13322 but building from custom as fixed it last time isn't working this time.
/usr/bin/qbittorrent-nox: symbol lookup error: /usr/bin/qbittorrent-nox: undefined symbol: _ZN10libtorrent7session5startENS_5flags13bitfield_flagIhNS_17session_flags_tagEvEEONS_14session_paramsEPN5boost4asio10io_contextE
What is the expected behavior
QB still start
Steps to reproduce
zypper in --force cmake ninja boost-devel libboost_system1_74_0 libboost_system-devel libboost_system1_74_0-devel git clone --recurse-submodules https://github.com/arvidn/libtorrent.git cd libtorrent ./configure CXXFLAGS="-std=c++14" mkdir -p build cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G Ninja .. cd .. cmake --build build
Extra info(if any)
(type here)