[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#509932: shlibs format only addresses one versioning structure



Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr> writes:
> On Sat, Dec 27, 2008 at 12:12:43PM -0800, Russ Allbery wrote:

>> The current description of the shlibs format in section 8.6.3 assumes
>> all shared libraries have SONAMEs of the form libfoo.so.<version>.
>> However, Debian's tools also support a versioned SONAME of the form
>> libfoo-<version>.so.
>
> I am not sure I understand that statement. Which Debian tools are they ?

dpkg-shlibdeps most notably (and with the most Policy relevance, since
Policy requires the use of dpkg-shlibdeps).  Also dh_shlibdeps, in
determining what to pass to dpkg-shlibdeps.

> Are there shared libraries (not plugin) in Debian with SONAME of the
> form libfoo-<version>.so ?

Yes, quite a few.  All of the libdb<version> packages, for instance.

windlord:~> dpkg -L libdb4.6 | grep /usr/lib/
/usr/lib/libdb-4.6.so
windlord:~> readelf -d /usr/lib/libdb-4.6.so | grep SONAME
 0x0000000e (SONAME)                     Library soname: [libdb-4.6.so]

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: