lboost_system is not getting built
I'm trying to build boost 1.87 from source on Debian 12.2.0
git checkout boost-1.87.0
./bootstrap.sh --with-libraries=system,thread
sudo ./b2 install
I've also tried
sudo ./b2 install --with-system --with-thread
Then
find /usr/local/lib -name "libboost_thread*"
/usr/local/lib/libboost_thread.so.1.87.0
/usr/local/lib/cmake/boost_thread-1.87.0/libboost_thread-variant-static.cmake
/usr/local/lib/cmake/boost_thread-1.87.0/libboost_thread-variant-shared.cmake
/usr/local/lib/libboost_thread.so
/usr/local/lib/libboost_thread.a
find /usr/local/lib -name "libboost_system*"
# returns nothing
it's header-only since Boost 1.69
Make sure to update git submodules after checking out tag.
Boost.System 1.87 should have a stub library.
Boost.System 1.89 (e.g. master branch submodules) will only install headers (EDIT: see https://github.com/boostorg/system/commit/7a495bb46d7ccd808e4be2a6589260839b0fd3a3)
i confirm that boost 1.89 not build "libboost_system" and 1.88 works well
Looks like this issue can be closed then?
Yes sure, but does the with-system flag do nothing then ?