[gnutls-dev] Re: Symbol versioning in gnutls 1.5.x

Andreas Metzler ametzler at downhill.at.eu.org
Mon Sep 25 19:19:00 CEST 2006


On 2006-09-25 Simon Josefsson <jas at extundo.com> wrote:
> Andreas Metzler <ametzler at downhill.at.eu.org> writes:
[...]
> > i.e. gnutls 1.5 uses a different soname than gnutls 1.4.x but the
> > symbols are still versioned with GNUTLS_1_3.
[...]
> There appear to have been no external API/ABI changes between 1.4.x
> and 1.5.x.  Thus, bumping the shared library version was probably a
> mistake.  Does anyone see any value in bumping it anyway?  I
> incremented to avoid having old binaries built against 1.4
> automatically linking to 1.5, but now when I think about it, I see no
> reason to do this.  I think I should revert it back, so that GnuTLS
> 1.5.x also uses libgnutls.so.13.

Both ways to fix the issue (decrement soname or bump symbol versioning)
will break binaries linking against 1.5. Reverting the unnecessary
soname bump seems to be the better alternative.
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde



More information about the Gnutls-dev mailing list