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.
/usr/lib/x86_64-linux-gnu/libboost_{thread,locale}.aare provided bylibboost-{thread,locale}1.58-devwhich are installed vialibboost-all-dev. Maybe you should check if the build system has more detailed logs. – muru Apr 17 '18 at 08:48./configure, there will be aconfig.log. CMake has something likeCMakeError.log, I think. The log file will have details on the actual command ran to check this and what errors it got. – muru Apr 17 '18 at 09:06libboost-all-devis simply a meta-package. It depends on variouslibboost-*-devpackages which in turn depend onlibboost-*X.Y-devpackages to provide the actual libraries. Reinstalling just thelibboost-all-devpackage is effectively meaningless. – muru Apr 17 '18 at 09:24CMakeError.log, add it to the question, or if it is too long, post it to https://paste.ubuntu.com/ and add the link here. – muru Apr 17 '18 at 09:25