I have various hits of
undefined reference to `boost::system::generic_category()'
like in this example:
in function `boost::system::error_category::std_category::equivalent(std::error_code const&, int) const':
/usr/local/include/boost/system/error_code.hpp:686: undefined reference to `boost::system::generic_category()'
while building in according to documentation using boost 1.74.
Expected behavior
The project should successfully build.
Actual behavior
make can't link to boost.
To reproduce
The basic build command I used:
./autogen.sh && ./configure --with-sqlite=yes --without-bdb --without-gui --disable-tests && make -j4
But of course, I've tried various ways and compilers which turned to be irrelevant since it is a linking issue.
No idea how to reproduce because I have two systems on one I can build the project on another I can't and nothing helps.
System information
Distributor ID: Debian
Description: Debian GNU/Linux bullseye/sid
Release: testing
Codename: bullseye
Boost version 1.74.
I have tried almost everything: installing all boost, re-installing boost completely, establishing links for boost *.so libs. Nothing helped me.