[kea-dev] configure: error: Linking with -lboost_system is not enough: please make sure libboost_system is installed

Jeremy C. Reed jreed at isc.org
Tue Sep 29 14:34:24 UTC 2015


On Tue, 29 Sep 2015, Marcin Siodelski wrote:

> > What does it mean "is not enough"?  What is this new dependency needed 
> > on at least four systems?  Where is it documented?
> 
> You need to install boost libraries, specifically you need
> libboost_system library installed (either .so or .a files). Old versions
> of boost (like 1.33) don't have libboost_system library so the system
> should be updated to use newer boost version, e.g. 1.41 or so. Once this
> is installed Kea needs to link with the libs so the path to boost
> headers and libs should be updated at configure:
> 
> --with-boost-include=?
> --with-boost-lib-dir=?
> 
> Some information about this has been recently added to the Kea user's guide.

Okay, I had saw new docs earlier and was confused:

          When header-only Boost error code is not available or wanted, the
          Boost system library is required too.

What does "wanted" mean here?

As an example with a 1.54.0 install of boost headers, the configure 
fails with:

In file included from conftest.cpp:41:
/udir/jreed/pkg/include/boost/system/error_code.hpp:516:54: 
boost/../libs/system/src/error_code.cpp: No such file or directory

/udir/jreed/pkg/include/boost/system/error_code.hpp:211: warning: inline 
function `const boost::system::error_category& 
boost::system::generic_category()' used 
but never defined

How to get this header-only Boost error code support? What version of 
boost provides it with headers-only?

(How can we improve this documentation?)


More information about the kea-dev mailing list