I installed Boost library on my ubuntu 18 using apt:
sudo apt-get install libboost-all-dev
however, I cannot find boost library files on my machine. When I try:
dpkg -L libboost-all-dev
the output is:
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libboost-all-dev
/usr/share/doc/libboost-all-dev/copyright
/usr/share/doc/libboost-all-dev/changelog.gz
No headers, no .so
files! Am I doing something wrong?
I'm getting the compilation error:
/usr/bin/x86_64-linux-gnu-ld: cannot find -lboost_random-mt
libboost-all-dev
depends onlibboost-chrono-dev
depends onlibboost-chrono1.58-dev
, which contains the actual files. – muru Jul 27 '18 at 07:09libboost-all-dev
. – N0rbert Jul 27 '18 at 08:17-mt
suffix? Asking because of the fact thatlibboost_random.*
is available. – N0rbert Jul 27 '18 at 08:29dpkg -L
is not the perfect tool to see what files I installed. I would accept it if you write it as an answer. – Przemysław Czechowski Jul 27 '18 at 09:15-mt
already solves the problem. I've learned that this is removed, because newer version of boost are already thread-safe by default. – Przemysław Czechowski Jul 27 '18 at 09:16