root@odroid64:~/qbittorrent-4.0.2# dpkg -l | grep boost
ii libboost-chrono-dev:arm64 1.58.0.1ubuntu1 arm64 C++ representation of time duration, time point, and clocks (default version)
ii libboost-chrono1.58-dev:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 C++ representation of time duration, time point, and clocks
ii libboost-chrono1.58.0:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 C++ representation of time duration, time point, and clocks
ii libboost-dev:arm64 1.58.0.1ubuntu1 arm64 Boost C++ Libraries development files (default version)
ii libboost-filesystem1.58.0:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 filesystem operations (portable paths, iteration over directories, etc) in C++
ii libboost-random-dev:arm64 1.58.0.1ubuntu1 arm64 Boost Random Number Library (default version)
ii libboost-random1.58-dev:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 Boost Random Number Library
ii libboost-random1.58.0:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 Boost Random Number Library
ii libboost-system-dev:arm64 1.58.0.1ubuntu1 arm64 Operating system (e.g. diagnostics support) library (default version)
ii libboost-system1.58-dev:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 Operating system (e.g. diagnostics support) library
ii libboost-system1.58.0:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 Operating system (e.g. diagnostics support) library
ii libboost1.58-dev:arm64 1.58.0+dfsg-5ubuntu3.1 arm64 Boost C++ Libraries development files
The compilation has worked fine, it's a linking error.
The object file something.so can not be found that matched the source library call to it. I mean, the object file containing the actual code that should run upon boost::asio::ip::address_v4::address_v4() being called.
You are missing an something.so or something.o file, or they are not in any of the directories underneath $LD_PATH (that maybe incorrect, but maybe they can't be found). That's the best I can do - I'm not going to dive into the internals of boost. You could ask "what boost library contains the address_v4() code?" on a coding forum, or even google search?
Regardless, don't compile as root - unless there is some reason to do so. A "make install" step might require root.
Last edited by Bongy Trouserpants on Sun Jan 14, 2018 12:01 am, edited 1 time in total.
In Debian at least, I had to install every single boost library and package to ensure that all of the object files (somthing.so files) were available. That might be one thing to try.
Hmm it is possible that something is missing from Boost on aarm64?
Compilation problems like this keeps me away from Scaleway's arm64 servers.
Solved this by moving to Debian Testing instead of Ubuntu.
Debian has the package available in Testing: https://packages.debian.org/buster/qbittorrent
Same goes for most other packages and the system never broke on me. They don't recommend it for server (production) use, but then again, I never had any issues with it either.
Ps.: Using Debian's .dsc file sometimes works, one could try to use pbuilder on that as well. Or simply try to install the .deb packages related to qBittorrent.
Last edited by Peter on Mon Jan 22, 2018 6:15 pm, edited 1 time in total.