Boost logo

Boost Users :

Subject: [Boost-users] undefined reference to `boost::log::v2_mt_posix::...
From: Antonis Polykratis (antonis.polykratis_at_[hidden])
Date: 2018-09-28 13:03:40

I face this error and I cannot figure out a fix.
I use bjam to build the application code, and inside site-config file, I
have also the following a section where I define BOOST_ALL_DYN_LINK:
using gcc : :
where I have defined
I have build boost libraries with the following command:
sudo bjam toolset=gcc --with-system --with-thread --with-timer
--with-chrono --with-filesystem --with-program_options --with-timer
*--with-log* --with-program_options --with-date_time --with-math
--with-serialization --with-regex --with-chrono --with-atomic
runtime-link=shared define=*BOOST_ALL_DYN_LINK* --prefix=/opt/boost_shared
install | tee output.txt

I also changed some files (macro definitions and jam files) because I had
an error that system and filesystem are configured to be compiled both as
static and shared. I compiled them as shared.

When I build the application code, I have plenty
of `boost::log::v2_mt_posix::...` error messages.

Could you give me some guide why this problem exist?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at