Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-01-15 01:15:39


In trying to get the regression tests working better on OpenBSD I ran into
an interesting problem.

The OpenBSD linker requires that shared libraries have version numbers.
Right now this problem manifests itself in the thread test failing to link.
To be clear here's an example:

If one has:

libfoo.so

And does a:

g++ ... -L"." -lfoo

It fails to find the library. But if you have:

libfoo.so.0.0
[or]
libfoo.so.0.0.0

Then the link succeeds.

To say the least this is a pain in the ass :-(

So two questions come to mind:

1. Do I "fix" this in BBV1; by providing a version number of "0.0" when none
is given on OpenBSD platform?

2. Do we have anything in the design of BBV2 to handle such a platform
requirement?

PS. I doubt this is the only platform where such a requirement exists.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq

 


Boost-Build 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