Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Configuration for sonames for the boost dynamic libraries on Unix
From: Sean Chittenden (sean_at_[hidden])
Date: 2009-10-29 14:30:17


> Boost has no separate interface and implementation versions, so it
> may be
> best to just set the VERSION property on all libraries and no
> SOVERSION
> (or vice-versa...each defaults to the other). Then CMake will only
> create
>
> libboost<component>.so -> libboost<component>.so.1.41.0
> libboost<component>.so.1.41.0
>
> and the SONAME field will be "libboost<component>.so.1.41.0".
>
> It looks like Boost's CMake framework has comments about SOVERSION in
>
> tools/build/CMake/BoostCore.cmake

For those interested and who haven't dealt with this before, here's a
great resource for dynamic linker issues (it even comes with ASCII
art!):

http://www.snow.nl/dist/htmlc/ch14s05.html#id2838038

I'm still coming up to speed on boost's convention for micro versions,
but couldn't the SONAME be set to "*.so.1.41" instead of "*.1.41.0" ?

-sc

--
Sean Chittenden
sean_at_[hidden]

Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk