mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
3.2.3 - Compiling Fails #3106
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#3106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @subhuman0 on GitHub (Sep 19, 2015).
This is what I get when I run the compiler:
I suppose this has nothing to do with my using Qt5.
libtorrent-rasterbar8 is of version 1.0.6-2
Linux 4.1.0-2-amd64 #1 SMP Debian 4.1.5-1 (2015-08-15) x86_64 GNU/Linux
@Chocobo1 commented on GitHub (Sep 20, 2015):
And the compiler version? qbt source version?
Just to make sure you have this package installed: libtorrent-rasterbar-dev
@subhuman0 commented on GitHub (Sep 20, 2015):
g++-5: 5.2.1-17
qbt: August 2
On Sun, 20 Sep 2015 00:30:50 -0700
Mike Tzou notifications@github.com wrote:
The world is such a nasty place to be.
@sledgehammer999 commented on GitHub (Sep 20, 2015):
You do just
./configure --with-qt5?@subhuman0 commented on GitHub (Sep 20, 2015):
Yep, that's what I did. And the subsequent 'make' failed.
On Sun, 20 Sep 2015 11:04:18 -0700
sledgehammer999 notifications@github.com wrote:
The world is such a nasty place to be.
@sledgehammer999 commented on GitHub (Sep 21, 2015):
I just tried it to my fully updated Debian unstable VM image and it build without issues.
Your errors are linker errors and seem to be related to c++11 !?!?!
Can you try re-installing
libtorrent-rasterbar-dev? Or just install qbittorrent from the debian repos. They have v3.2.3 already.@subhuman0 commented on GitHub (Sep 21, 2015):
libtorrent-rasterbar-dev is installed (wouldn't even configure without).
And this is what I get when I start the qbt 3.2.3 from the debian repos:
*** Error in `qbittorrent': munmap_chunk(): invalid pointer: 0x00007fa684ad5a30 ***
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v3.2.3
stack trace:
/lib/x86_64-linux-gnu/libc.so.6 : gsignal()+0x37 [0x7fa681ecd107]
/lib/x86_64-linux-gnu/libc.so.6 : abort()+0x148 [0x7fa681ece4e8]
/lib/x86_64-linux-gnu/libc.so.6 : ()+0x73204 [0x7fa681f0b204]
/lib/x86_64-linux-gnu/libc.so.6 : ()+0x789de [0x7fa681f109de]
qbittorrent : libtorrent::proxy_settings::~proxy_settings()+0x16 [0x4b1d86]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x1ac22f [0x7fa684a9422f]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x184524 [0x7fa684a6c524]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x182357 [0x7fa684a6a357]
/usr/local/lib/libtorrent-rasterbar.so.8 : boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lockboost::asio::detail::posix_mutex&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&)+0x2f2 [0x7fa684971de2]
/usr/local/lib/libtorrent-rasterbar.so.8 : boost::asio::detail::task_io_service::run(boost::system::error_code&)+0xb1 [0x7fa684972001]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x1aedfc [0x7fa684a96dfc]
/usr/local/lib/libtorrent-rasterbar.so.8 : boost_asio_detail_posix_thread_function()+0x3a [0x7fa6849752ca]
/lib/x86_64-linux-gnu/libpthread.so.0 : ()+0x80a4 [0x7fa6844cf0a4]
/lib/x86_64-linux-gnu/libc.so.6 : clone()+0x6d [0x7fa681f7e04d]
Aborted
On Mon, 21 Sep 2015 14:06:58 -0700
sledgehammer999 notifications@github.com wrote:
The world is such a nasty place to be.
@sledgehammer999 commented on GitHub (Sep 21, 2015):
Are you using debian sid fully updated?
@subhuman0 commented on GitHub (Sep 21, 2015):
libc6:amd64 2.19-18 amd64
Linux xxxx 4.1.0-2-amd64 #1 SMP Debian 4.1.5-1 (2015-08-15) x86_64 GNU/Linux
If it's that what you're having in mind.
On Mon, 21 Sep 2015 15:29:10 -0700
sledgehammer999 notifications@github.com wrote:
The world is such a nasty place to be.
@sledgehammer999 commented on GitHub (Sep 21, 2015):
That doesn't tell me something. I am basically asking you if you indeed have updated everything. I also wanted you to **re-**install
libtorrent-rasterbar-devand try compiling again.@subhuman0 commented on GitHub (Sep 21, 2015):
I did as you requested. libtorrent-rasterbar-dev is of version 1.0.6-2, as is of course libtorrent-rasterbar8
find attached the output from a call to
make 2>>qbt-make.logOn Mon, 21 Sep 2015 16:24:28 -0700
sledgehammer999 notifications@github.com wrote:
The world is such a nasty place to be.
qbtsession.o: In function
QBtSession::enableDHT(bool)': /usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:1530: undefined reference tolibtorrent::session::add_dht_router(std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator >, int> const&)'/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:1531: undefined reference to
libtorrent::session::add_dht_router(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> const&)' /usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:1532: undefined reference tolibtorrent::session::add_dht_router(std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator >, int> const&)'/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:1533: undefined reference to
libtorrent::session::add_dht_router(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> const&)' qbtsession.o: In functionQBtSession::handlePeerBlockedAlert(libtorrent::peer_blocked_alert)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:2551: undefined reference to
boost::asio::ip::address::to_string[abi:cxx11](boost::system::error_code&) const' qbtsession.o: In functionQBtSession::handlePeerBanAlert(libtorrent::peer_ban_alert)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:2585: undefined reference to
boost::asio::ip::address::to_string[abi:cxx11](boost::system::error_code&) const' qbtsession.o: In functionQBtSession::handleListenFailedAlert(libtorrent::listen_failed_alert)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:2651: undefined reference to
boost::asio::ip::address::to_string[abi:cxx11](boost::system::error_code&) const' qbtsession.o: In functionQBtSession::handleExternalIPAlert(libtorrent::external_ip_alert)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:2684: undefined reference to
boost::asio::ip::address::to_string[abi:cxx11](boost::system::error_code&) const' qbtsession.o: In functionQBtSession::recoverPersistentData(QString const&, std::vector<char, std::allocator > const&)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:3056: undefined reference to
libtorrent::lazy_entry::dict_find_string_value[abi:cxx11](char const*) const' /usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:3057: undefined reference tolibtorrent::lazy_entry::dict_find_string_value[abi:cxx11](char const*) const'/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:3059: undefined reference to
libtorrent::lazy_entry::dict_find_string_value[abi:cxx11](char const*) const' qbtsession.o: In functionQBtSession::backupPersistentData(QString const&, boost::shared_ptrlibtorrent::entry)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:3073: undefined reference to
libtorrent::entry::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:3074: undefined reference tolibtorrent::entry::operator=(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:3075: undefined reference to
libtorrent::entry::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' qbtsession.o: In functionQBtSession::handleListenSucceededAlert(libtorrent::listen_succeeded_alert)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:2624: undefined reference to
boost::asio::ip::address::to_string[abi:cxx11](boost::system::error_code&) const' qbtsession.o: In functionQBtSession::mergeTorrents_impl(QTorrentHandle const&, QStringList const&, QStringList const&)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:1336: undefined reference to
libtorrent::announce_entry::announce_entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' qbtsession.o: In functionbool boost::detail::function::basic_vtable5<libtorrent::storage_interface, libtorrent::file_storage const&, libtorrent::file_storage const_, std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&>::assign_to<libtorrent::storage_interface ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&)>(libtorrent::storage_interface* ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&), boost::detail::function::function_buffer&, boost::detail::function::function_ptr_tag) const':/usr/include/boost/function/function_template.hpp:523: undefined reference to
libtorrent::default_storage_constructor(libtorrent::file_storage const&, libtorrent::file_storage const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator<unsigned char> > const&)' qbtsession.o: In functionQBtSession::mergeTorrents(QTorrentHandle const&, QString const&)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:1286: undefined reference to
libtorrent::parse_magnet_uri(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, libtorrent::add_torrent_params&, boost::system::error_code&)' qbtsession.o: In functionbool boost::detail::function::basic_vtable5<libtorrent::storage_interface*, libtorrent::file_storage const&, libtorrent::file_storage const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&>::assign_to<libtorrent::storage_interface* ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&)>(libtorrent::storage_interface* ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&), boost::detail::function::function_buffer&, boost::detail::function::function_ptr_tag) const':/usr/include/boost/function/function_template.hpp:523: undefined reference to
libtorrent::default_storage_constructor(libtorrent::file_storage const&, libtorrent::file_storage const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator<unsigned char> > const&)' /usr/include/boost/function/function_template.hpp:523: undefined reference tolibtorrent::default_storage_constructor(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&)'qbtsession.o: In function
QBtSession::addMagnetUri(QString, bool, bool, QString const&)': /usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:867: undefined reference tolibtorrent::parse_magnet_uri(std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::add_torrent_params&, boost::system::error_code&)'qbtsession.o: In function
QBtSession::processDownloadedFile(QString, QString)': /usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qbtsession.cpp:2904: undefined reference tolibtorrent::torrent_info::torrent_info(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, boost::system::error_code&, int)'qbtsession.o: In function
int libtorrent::detail::bencode_recursive<std::back_insert_iterator<std::vector<char, std::allocator<char> > > >(std::back_insert_iterator<std::vector<char, std::allocator<char> > >&, libtorrent::entry const&)': /usr/local/include/libtorrent/bencode.hpp:212: undefined reference tolibtorrent::entry::dictabi:cxx11 const'/usr/local/include/libtorrent/bencode.hpp:213: undefined reference to
libtorrent::entry::dict[abi:cxx11]() const' /usr/local/include/libtorrent/bencode.hpp:205: undefined reference tolibtorrent::entry::listabi:cxx11 const'/usr/local/include/libtorrent/bencode.hpp:205: undefined reference to
libtorrent::entry::list[abi:cxx11]() const' /usr/local/include/libtorrent/bencode.hpp:198: undefined reference tolibtorrent::entry::stringabi:cxx11 const'/usr/local/include/libtorrent/bencode.hpp:200: undefined reference to
libtorrent::entry::string[abi:cxx11]() const' qtorrenthandle.o: In functionQTorrentHandle::remove_url_seed(QString const&) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:554: undefined reference to
libtorrent::torrent_handle::remove_url_seed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' qtorrenthandle.o: In functionQTorrentHandle::add_url_seed(QString const&) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:561: undefined reference to
libtorrent::torrent_handle::add_url_seed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' qtorrenthandle.o: In functionQTorrentHandle::set_tracker_login(QString const&, QString const&) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:566: undefined reference to
libtorrent::torrent_handle::set_tracker_login(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' qtorrenthandle.o: In functionQTorrentHandle::move_storage(QString const&) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:591: undefined reference to
libtorrent::torrent_handle::move_storage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const' qtorrenthandle.o: In functionQTorrentHandle::rename_file(int, QString const&) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:750: undefined reference to
libtorrent::torrent_handle::rename_file(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' qtorrenthandle.o: In functionQTorrentHandle::filepath_at(libtorrent::torrent_info const&, unsigned int)':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:809: undefined reference to
libtorrent::file_storage::file_path(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' qtorrenthandle.o: In functionQTorrentHandle::orig_filepath_at(unsigned int) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:290: undefined reference to
libtorrent::file_storage::file_path(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' qtorrenthandle.o: In functionQTorrentHandle::url_seeds() const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:215: undefined reference to
libtorrent::torrent_handle::url_seeds[abi:cxx11]() const' qtorrenthandle.o: In functionQTorrentHandle::save_torrent_file(QString const&) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtlibtorrent/qtorrenthandle.cpp:610: undefined reference to
libtorrent::entry::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' qtorrenthandle.o: In functionvoid libtorrent::detail::bdecode_recursive<char>(char&, char, libtorrent::entry&, bool&, int)':/usr/local/include/libtorrent/bencode.hpp:328: undefined reference to
libtorrent::entry::string[abi:cxx11]()' /usr/local/include/libtorrent/bencode.hpp:328: undefined reference tolibtorrent::entry::operator[](std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/local/include/libtorrent/bencode.hpp:285: undefined reference to
libtorrent::entry::list[abi:cxx11]()' /usr/local/include/libtorrent/bencode.hpp:286: undefined reference tolibtorrent::entry::listabi:cxx11'/usr/local/include/libtorrent/bencode.hpp:370: undefined reference to
libtorrent::entry::string[abi:cxx11]()' torrentpersistentdata.o: In functionTorrentPersistentData::saveTorrentPersistentData(QTorrentHandle const&, QString const&, bool)':/usr/local/src/qbittorrent-3.2.3/src/core/torrentpersistentdata.cpp:391: undefined reference to
libtorrent::make_magnet_uri[abi:cxx11](libtorrent::torrent_handle const&)' misc.o: In functionbool boost::detail::function::basic_vtable5<libtorrent::storage_interface*, libtorrent::file_storage const&, libtorrent::file_storage const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&>::assign_to<libtorrent::storage_interface* ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&)>(libtorrent::storage_interface* ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&), boost::detail::function::function_buffer&, boost::detail::function::function_ptr_tag) const':/usr/include/boost/function/function_template.hpp:523: undefined reference to
libtorrent::default_storage_constructor(libtorrent::file_storage const&, libtorrent::file_storage const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator<unsigned char> > const&)' misc.o: In functionmisc::magnetUriToName(QString const&)':/usr/local/src/qbittorrent-3.2.3/src/core/misc.cpp:439: undefined reference to
libtorrent::parse_magnet_uri(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, libtorrent::add_torrent_params&, boost::system::error_code&)' misc.o: In functionbool boost::detail::function::basic_vtable5<libtorrent::storage_interface*, libtorrent::file_storage const&, libtorrent::file_storage const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&>::assign_to<libtorrent::storage_interface* ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&)>(libtorrent::storage_interface* ()(libtorrent::file_storage const&, libtorrent::file_storage const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator > const&), boost::detail::function::function_buffer&, boost::detail::function::function_ptr_tag) const':/usr/include/boost/function/function_template.hpp:523: undefined reference to
libtorrent::default_storage_constructor(libtorrent::file_storage const&, libtorrent::file_storage const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, libtorrent::file_pool&, std::vector<unsigned char, std::allocator<unsigned char> > const&)' misc.o: In functionmisc::magnetUriToHash(QString const&)':/usr/local/src/qbittorrent-3.2.3/src/core/misc.cpp:450: undefined reference to
libtorrent::parse_magnet_uri(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, libtorrent::add_torrent_params&, boost::system::error_code&)' fs_utils.o: In functionfsutils::isValidTorrentFile(QString const&)':/usr/local/src/qbittorrent-3.2.3/src/core/fs_utils.cpp:115: undefined reference to
libtorrent::torrent_info::torrent_info(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' qtracker.o: In functionQPeer::toEntry(bool) const':/usr/local/src/qbittorrent-3.2.3/src/core/qtracker.cpp:59: undefined reference to
libtorrent::entry::entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/src/qbittorrent-3.2.3/src/core/qtracker.cpp:60: undefined reference tolibtorrent::entry::entry(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/local/src/qbittorrent-3.2.3/src/core/qtracker.cpp:63: undefined reference to
libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > > const&)' qtracker.o: In functionQTracker::replyWithPeerList(TrackerAnnounceRequest const&)':/usr/local/src/qbittorrent-3.2.3/src/core/qtracker.cpp:236: undefined reference to
libtorrent::entry::entry(std::__cxx11::list<libtorrent::entry, std::allocator<libtorrent::entry> > const&)' /usr/local/src/qbittorrent-3.2.3/src/core/qtracker.cpp:237: undefined reference tolibtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, libtorrent::entry, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, libtorrent::entry> > > const&)'peerlistwidget.o: In function
PeerListWidget::loadPeers(QTorrentHandle const&, bool)': /usr/local/src/qbittorrent-3.2.3/src/gui/properties/peerlistwidget.cpp:347: undefined reference toboost::asio::ip::address::to_stringabi:cxx11 const'trackerlist.o: In function
TrackerList::editSelectedTracker()': /usr/local/src/qbittorrent-3.2.3/src/gui/properties/trackerlist.cpp:398: undefined reference tolibtorrent::announce_entry::announce_entry(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'trackerlist.o: In function
TrackerList::moveSelectionUp()': /usr/local/src/qbittorrent-3.2.3/src/gui/properties/trackerlist.cpp:139: undefined reference tolibtorrent::announce_entry::announce_entry(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'trackerlist.o: In function
TrackerList::moveSelectionDown()': /usr/local/src/qbittorrent-3.2.3/src/gui/properties/trackerlist.cpp:177: undefined reference tolibtorrent::announce_entry::announce_entry(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'torrentcreatordlg.o: In function
TorrentCreatorDlg::handleCreationSuccess(QString, QString)': /usr/local/src/qbittorrent-3.2.3/src/gui/torrentcreator/torrentcreatordlg.cpp:157: undefined reference tolibtorrent::torrent_info::torrent_info(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)'torrentcreatorthread.o: In function
file_filter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /usr/local/src/qbittorrent-3.2.3/src/gui/torrentcreator/torrentcreatorthread.cpp:57: undefined reference tolibtorrent::filename(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'torrentcreatorthread.o: In function
TorrentCreatorThread::run()': /usr/local/src/qbittorrent-3.2.3/src/gui/torrentcreator/torrentcreatorthread.cpp:96: undefined reference tolibtorrent::create_torrent::add_url_seed(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/local/src/qbittorrent-3.2.3/src/gui/torrentcreator/torrentcreatorthread.cpp:108: undefined reference to
libtorrent::create_torrent::add_tracker(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' torrentcreatorthread.o: In functionvoid libtorrent::add_files<bool (*)(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)>(libtorrent::file_storage&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool (_)(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&), unsigned int)':/usr/local/include/libtorrent/create_torrent.hpp:406: undefined reference to
libtorrent::filename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/libtorrent/create_torrent.hpp:406: undefined reference tolibtorrent::complete(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/local/include/libtorrent/create_torrent.hpp:406: undefined reference to
libtorrent::parent_path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/libtorrent/create_torrent.hpp:406: undefined reference tolibtorrent::detail::add_files_impl(libtorrent::file_storage&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, boost::function<bool (std::__cxx11::basic_string<char, std::char_traits, std::allocator >)>, unsigned int)'torrentcreatorthread.o: In function
void libtorrent::set_piece_hashes<boost::_bi::bind_t<void, void (_)(int, int, TorrentCreatorThread_), boost::_bi::list3boost::arg<1, boost::_bi::value<int>, boost::_bi::value<TorrentCreatorThread_> > > >(libtorrent::create_torrent&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<void, void (*)(int, int, TorrentCreatorThread*), boost::_bi::list3<boost::arg<1>, boost::_bi::value<int>, boost::_bi::value<TorrentCreatorThread*> > >)': /usr/local/include/libtorrent/create_torrent.hpp:440: undefined reference tolibtorrent::set_piece_hashes(libtorrent::create_torrent&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, boost::function<void (int)>, boost::system::error_code&)'torrentcreatorthread.o: In function
int libtorrent::detail::bencode_recursive<std::ostream_iterator<char, char, std::char_traits<char> > >(std::ostream_iterator<char, char, std::char_traits<char> >&, libtorrent::entry const&)': /usr/local/include/libtorrent/bencode.hpp:212: undefined reference tolibtorrent::entry::dictabi:cxx11 const'/usr/local/include/libtorrent/bencode.hpp:213: undefined reference to
libtorrent::entry::dict[abi:cxx11]() const' /usr/local/include/libtorrent/bencode.hpp:205: undefined reference tolibtorrent::entry::listabi:cxx11 const'/usr/local/include/libtorrent/bencode.hpp:205: undefined reference to
libtorrent::entry::list[abi:cxx11]() const' /usr/local/include/libtorrent/bencode.hpp:198: undefined reference tolibtorrent::entry::stringabi:cxx11 const'/usr/local/include/libtorrent/bencode.hpp:200: undefined reference to
libtorrent::entry::string[abi:cxx11]() const' transferlistwidget.o: In functionTransferListWidget::copySelectedMagnetURIs() const':/usr/local/src/qbittorrent-3.2.3/src/gui/transferlistwidget.cpp:430: undefined reference to
libtorrent::make_magnet_uri[abi:cxx11](libtorrent::torrent_handle const&)' addnewtorrentdialog.o: In functionAddNewTorrentDialog::setupTreeview()':/usr/local/src/qbittorrent-3.2.3/src/gui/addnewtorrentdialog.cpp:676: undefined reference to
libtorrent::file_storage::file_path(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/local/src/qbittorrent-3.2.3/src/gui/addnewtorrentdialog.cpp:699: undefined reference tolibtorrent::file_storage::file_path(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const'collect2: error: ld returned 1 exit status
make[1]: *** [qbittorrent] Error 1
make: *** [sub-src-make_first] Error 2
@sledgehammer999 commented on GitHub (Sep 21, 2015):
Attachments don't work on github. You have to come here and comment with the log.
@subhuman0 commented on GitHub (Sep 21, 2015):
@sledgehammer999 commented on GitHub (Sep 22, 2015):
I really don't know what is wrong there. Did you try compiling from a clean folder/source tree?
Those errors indicate a total lack of libtorrent headers.
Furthermore I installed on my clean VM image qbittorrent v3.2.3 from the repos and it started without any errors.
Can you remove/rename your
/home/<username>/.config/qBittorrent/qBittorrent.conffile and then launch qbittorrent from the repos? It might not crash now. (also take a backup of your/home/<username>/.local/share/data/qBittorrent/BT_backup/ folder)@subhuman0 commented on GitHub (Sep 23, 2015):
On Tue, 22 Sep 2015 14:48:41 -0700
sledgehammer999 notifications@github.com wrote:
I did as you said. might it help if I deinstalled the libtorrent-rasterbar package from the debian repo, and compile a /usr/local/... one?
following are some additional infos on
a) compiling from a clean source tree, and
b) trying to run the qbt from the debian repo.
a) no effect. compiling works, except for some warnings. ld then gives up.
command line for ld:
g++ -m64 -Wl,-O1 -rdynamic -o qbittorrent qtsingleapplication.o qtlocalpeer.o application.o main.o notifications.o qbtsession.o
qtorrenthandle.o torrentspeedmonitor.o alertdispatcher.o torrentstatistics.o filterparserthread.o torrentmodel.o shutdownconfirm.o
downloadthread.o scannedfoldersmodel.o torrentpersistentdata.o misc.o fs_utils.o smtp.o dnsupdater.o logger.o preferences.o qtracker.o connection.o requestparser.o responsegenerator.o server.o responsebuilder.o webui.o btjson.o prefjson.o webapplication.o qtorrentfilter.o
abstractwebapplication.o lineedit.o propertieswidget.o peerlistwidget.o trackerlist.o proptabbar.o downloadedpiecesbar.o
pieceavailabilitybar.o rss_imp.o rsssettingsdlg.o feedlistwidget.o rssmanager.o rssfeed.o rssfolder.o rssarticle.o automatedrssdownloader.o rssdownloadrule.o rssdownloadrulelist.o cookiesdlg.o rssfile.o rssparser.o htmlbrowser.o torrentcreatordlg.o torrentcreatorthread.o
geoipmanager.o powermanagement.o powermanagement_x11.o mainwindow.o ico.o transferlistwidget.o transferlistsortmodel.o transferlistdelegate.o transferlistfilterswidget.o torrentcontentmodel.o torrentcontentmodelitem.o torrentcontentmodelfolder.o
torrentcontentmodelfile.o torrentcontentfiltermodel.o torrentcontenttreeview.o torrentimportdlg.o executionlog.o speedlimitdlg.o previewselect.o iconprovider.o updownratiodlg.o loglistwidget.o addnewtorrentdialog.o autoexpandabledialog.o statsdialog.o
messageboxraised.o statusbar.o trackerlogin.o options_imp.o searchengine.o searchtab.o engineselectdlg.o qrc_webui.o qrc_lineeditimages.o qrc_about.o qrc_search.o qrc_icons.o qrc_lang.o moc_qtsingleapplication.o moc_qtlocalpeer.o moc_application.o
moc_notifications.o moc_qbtsession.o moc_bandwidthscheduler.o moc_torrentspeedmonitor.o moc_filterparserthread.o moc_alertdispatcher.o moc_torrentstatistics.o moc_torrentmodel.o moc_shutdownconfirm.o moc_downloadthread.o
moc_torrentpersistentdata.o moc_filesystemwatcher.o moc_scannedfoldersmodel.o moc_qinisettings.o moc_smtp.o moc_dnsupdater.o moc_logger.o moc_preferences.o moc_qtracker.o moc_connection.o moc_server.o moc_webui.o moc_abstractwebapplication.o moc_lineedit.o
moc_propertieswidget.o moc_peerlistwidget.o moc_proplistdelegate.o moc_trackerlist.o moc_downloadedpiecesbar.o moc_peerlistdelegate.o moc_peerlistsortmodel.o moc_peeraddition.o moc_trackersadditiondlg.o moc_pieceavailabilitybar.o moc_proptabbar.o moc_rss_imp.o
moc_rsssettingsdlg.o moc_feedlistwidget.o moc_rssmanager.o moc_rssfeed.o moc_rssfolder.o moc_rssarticle.o moc_automatedrssdownloader.o moc_cookiesdlg.o moc_rssparser.o moc_htmlbrowser.o moc_torrentcreatordlg.o moc_torrentcreatorthread.o
moc_geoipmanager.o moc_powermanagement.o moc_powermanagement_x11.o moc_mainwindow.o moc_transferlistwidget.o moc_transferlistdelegate.o moc_transferlistfilterswidget.o moc_transferlistsortmodel.o moc_torrentcontentmodel.o
moc_torrentcontentfiltermodel.o moc_torrentcontenttreeview.o moc_deletionconfirmationdlg.o moc_statusbar.o moc_reverseresolution.o moc_speedlimitdlg.o moc_about_imp.o moc_previewselect.o moc_previewlistdelegate.o moc_downloadfromurldlg.o moc_trackerlogin.o
moc_torrentimportdlg.o moc_executionlog.o moc_updownratiodlg.o moc_loglistwidget.o moc_addnewtorrentdialog.o moc_autoexpandabledialog.o moc_statsdialog.o moc_messageboxraised.o moc_options_imp.o moc_advancedsettings.o moc_searchengine.o
moc_searchtab.o moc_engineselectdlg.o moc_pluginsource.o moc_searchlistdelegate.o moc_supportedengines.o moc_searchsortmodel.o -L/usr/X11R6/lib64 -L/usr/lib/x86_64-linux-gnu -lz -L/usr/local/lib -ltorrent-rasterbar -lboost_system -lQt5Widgets -lQt5Gui -lQt5DBus -lQt5Xml
-lQt5Network -lQt5Core -lpthread -lGL
libtorrent-rasterbar libraries:
xxx:/usr/lib# ls -la libtorrent*
-rw-r--r-- 1 root root 12263924 Aug 29 19:18 libtorrent-rasterbar.a
lrwxrwxrwx 1 root root 29 Aug 29 19:18 libtorrent-rasterbar.so -> libtorrent-rasterbar.so.8.0.0
lrwxrwxrwx 1 root root 29 Aug 29 19:18 libtorrent-rasterbar.so.8 -> libtorrent-rasterbar.so.8.0.0
-rw-r--r-- 1 root root 3613176 Aug 29 19:18 libtorrent-rasterbar.so.8.0.0
b) qbt from the debian package still crashes. terminal output:
xxx@xxx:~$ qbittorrent
*** Error in `qbittorrent': free(): invalid pointer: 0x0000000000fec528 ***
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v3.2.3
stack trace:
/lib/x86_64-linux-gnu/libc.so.6 : gsignal()+0x37 [0x7f70264fc107]
/lib/x86_64-linux-gnu/libc.so.6 : abort()+0x148 [0x7f70264fd4e8]
/lib/x86_64-linux-gnu/libc.so.6 : ()+0x73204 [0x7f702653a204]
/lib/x86_64-linux-gnu/libc.so.6 : ()+0x789de [0x7f702653f9de]
/lib/x86_64-linux-gnu/libc.so.6 : ()+0x796e6 [0x7f70265406e6]
qbittorrent : libtorrent::proxy_settings::~proxy_settings()+0x16 [0x4b1d86]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x1ac22f [0x7f70290c322f]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x184524 [0x7f702909b524]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x182357 [0x7f7029099357]
/usr/local/lib/libtorrent-rasterbar.so.8 : boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lockboost::asio::detail::posix_mutex&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&)+0x2f2 [0x7f7028fa0de2]
/usr/local/lib/libtorrent-rasterbar.so.8 : boost::asio::detail::task_io_service::run(boost::system::error_code&)+0xb1 [0x7f7028fa1001]
/usr/local/lib/libtorrent-rasterbar.so.8 : ()+0x1aedfc [0x7f70290c5dfc]
/usr/local/lib/libtorrent-rasterbar.so.8 : boost_asio_detail_posix_thread_function()+0x3a [0x7f7028fa42ca]
/lib/x86_64-linux-gnu/libpthread.so.0 : ()+0x80a4 [0x7f7028afe0a4]
/lib/x86_64-linux-gnu/libc.so.6 : clone()+0x6d [0x7f70265ad04d]
Aborted
The world is such a nasty place to be.
@subhuman0 commented on GitHub (Sep 23, 2015):
it appears these double libs were the source of both problems. i removed the files from /usr/local, ran ldconfig, and now everything seems to be working.
my apologies! and thank you very much for your time. I should have spared you the effort.
The world is such a nasty place to be.
@sledgehammer999 commented on GitHub (Sep 23, 2015):
I am glad you made it work. I am closing. And I hope it launches ok now.