|
Boost Interest : |
Subject: Re: [Boost-cmake] Configuration for sonames for the boost dynamic libraries on Unix
From: Denis Arnaud (denis.arnaud_boost_at_[hidden])
Date: 2009-10-29 13:59:20
2009/10/28 Vladimir Prus <vladimir_at_[hidden]>
> This might be obvious, but such a soname would be wrong if the above naming
> of libraries is used, since there would be no libboost_date_time-mt.so.4.
>
> - Volodya
>
I've just checked what Debianers do. Currently, they set the soname to match
the full library name (whereas, they used to follow more complex Boost
naming schemes before):
~# readelf -a /usr/lib64/libboost_date_time.so.1.40.0 | grep -i soname
0x000000000000000e (SONAME) Library soname:
[libboost_date_time.so.1.40.0]
nceorilnx02:~# readelf -a
/usr/lib64/libboost_date_time-gcc42-1_34_1.so.1.34.1 | grep -i soname
0x000000000000000e (SONAME) Library soname:
[libboost_date_time-gcc42-1_34_1.so.1.34.1]
So, I suggest that we follow Debian convention. I'm trying to figure out
where to change the default soname-scheme, but I'm a little bit lost. From
some documentation, I understand that the SOVERSION attribute should be
changed for each library, but I do not see where it should be configured.
Denis