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

Marcin Siodelski marcin at isc.org
Tue Sep 29 14:01:13 UTC 2015



On 29.09.2015 14:11, Jeremy C. Reed wrote:
> On Tue, 29 Sep 2015, tester at isc.org wrote:
> 
>> http://git.kea.isc.org/~tester/builder//KEA/20150929104002-CentOS5-x86_64-GCC/logs/configure.out
>>
>> http://git.kea.isc.org/~tester/builder//builder.html
> 
> checking whether Boost tries to use threads... no
> checking Boost offset_ptr compiles... yes
> checking Boost numeric_cast compiles with -Werror... yes
> checking BOOST_STATIC_ASSERT compiles... yes
> checking BOOST_ERROR_CODE_HEADER_ONLY works... no
> configure: WARNING: The Boost system library is required.
> checking for Boost system library... no
> configure: error: Linking with -L/usr/pkg/lib -lboost_system is not 
> enough: please make sure libboost_system is installed
> 
> Also failed on:
>  macmini
>  solaris11
>  solaris10
> 
> 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.

Marcin


More information about the kea-dev mailing list