|
Boost : |
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-01-06 10:31:22
On Thu, 6 Jan 2005 03:07:38 +0100, Simon Barner <barner_at_[hidden]> wrote:
> Starting with Boost v. 1.31.0, I intend to bump the shared library
> version number with every boost release in order to prevent from
> problems that are caused by ABI incompatiblities.
>
> (This is a requirement of the FreeBSD Ports Collection).
>
> --- tools/build/v1/allyourbase.jam.orig Wed Feb 18 14:04:28 2004
> +++ tools/build/v1/allyourbase.jam Wed Feb 18 14:02:44 2004
> @@ -457,7 +457,7 @@
> SPLITPATH ?= ":" ; # dwa -- added missing SPLITPATH
> STDHDRS ?= /usr/include ;
> SUFEXE ?= "" ;
> -SUFDLL ?= .so ;
> +SUFDLL ?= .so.2 ;
> SUFLIB ?= .a ;
> SUFOBJ ?= .o ;
> PREDLL ?= lib ;
As of Boost 1.32.0, the shared libraries are properly versioned (e.g.
they have a proper SONAME attribute set and there is a
libboost_XXX.so.1.32.0). Is this change necessary then?
There is the unfortunate matter of the version number being encoded in
the name TWICE now (e.g. libboost_thread-gcc-mt-1_32.so.1.32.0) which
I think is a problem and should be corrected. The versioned shared
object should be sufficient without having to encode the Boost version
in the part of the name that comes *before* .so.
-- Caleb Epstein caleb dot epstein at gmail dot com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk