[pkg-boost-devel] [Pkg-lyx-devel] boost soname change

Steve M. Robbins steve at sumost.ca
Sat May 16 01:47:41 UTC 2009


On Fri, May 15, 2009 at 08:18:17AM +0200, Sven Hoexter wrote:
> On Thu, May 14, 2009 at 08:48:02PM -0500, Steve M. Robbins wrote:

> > We're generating the same name as the so-called "system" layout, which
> > is used in other distributions such as Fedora [1].  Doesn't lyx
> > support compilation on Fedora out of the box?
> 
> Fedora seems to provide both versions:

> -rwxr-xr-x 1 sven sven 70416 15. Mai 08:00 libboost_filesystem-mt.so.1.39.0
> -rwxr-xr-x 1 sven sven 70332 15. Mai 08:00 libboost_filesystem.so.1.39.0

Oh, yes: the undecorated name is the single-threaded variant of the library.

Starting in either 1.35.0 or 1.36.0, Boost upstream decreased the number
of variants built out-of-the-box.  By default, Boost now builds only
the multi-threaded libraries.  Debian followed suit in 1.37.0.

LyX should be building against -mt Boost libs if it's multi-threaded.
If not, it doesn't matter much, but since upstream builds -mt by
default, that is the safer choice (indeed it is the only choice on
Debian).


> To be honest I've no idea about the pro's and con's of the naming scheme but
> I wouldn't be surprised if it's going to produce some more problems in other
> packages aswell. If there is a technical need to change it I'm fine with it
> but what's a real pain is the back and forth we already had once around
> exactly the same issue.

At first, "libboost_filesystem.so" was multi-threaded in Debian,
contrary to the upstream "system layout" used by some other
distributions like Fedora.  Starting in 1.34.0-1, we switched to
conform with upstream so "libboost_filesystem.so" was then
single-threaded with "libboost_filesystem-mt.so" the multithreaded
variant.  Then in 1.37.0, we dropped the single-threaded libs
altogether.

Each of these changes decreased the distance between Debian and other
packagers of Boost, which I believe is a good thing though I do
understand your frustration.

Best regards,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20090515/b71631bf/attachment.pgp>


More information about the pkg-boost-devel mailing list