Celeb Glow
news | March 30, 2026

Boost 1.58 installed, but boost_thread and boost_locale missing

Trying to build a project that requires boost. I get the following error:

Unable to find the requested Boost libraries. Boost version: 1.58.0 Boost include path: /usr/include Could not find the following Boost libraries: boost_thread boost_locale Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.

If I run

sudo apt-get install libboost-all-dev

I get

libboost-all-dev is already the newest version (1.58.0.1ubuntu1).

So I don't know what to do here. How can install these particular boost packages, or reinstall the whole boost package?

edit: Also, if I run apt-get remove libboost-all-dev , nothing seems to get removed. Running apt-get install libboost-all-dev afterwards still tells me I have the newest version.

6 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy