[Pkg-openldap-devel] Bug#725153: Bug#725153: openldap, nss, and gnutls

Ryan Tandy ryan at nardis.ca
Sat Apr 9 16:19:46 UTC 2016


Control: tag -1 = patch

On Sat, Apr 09, 2016 at 06:10:16PM +0300, Timo Aaltonen wrote:
>09.04.2016, 09:12, Ryan Tandy kirjoitti:
>> What happens if both copies of libldap somehow end up linked into the
>> same process? I don't know freeipa well enough to imagine a specific
>> scenario, but it probably involves PAM somehow... Looks like curl
>> handles this via renaming the symbol versions, we could probably do the
>> same, if needed.
>
>Hmm right, I didn't notice the symbol renaming in curl though I used it
>as an example for how to build separate versions.. so it just needs
>changes in .symbols?

The versioning script needs a change:

http://sources.debian.net/src/curl/7.47.0-1/lib/libcurl.vers.in/

I'm not sure where that gets replaced, but that's what needs to be set. 
And then, yes, symbols needs to be updated to match.

In our case, OpenLDAP upstream doesn't use symbol versioning, so our 
version script is in debian/patches/libldap-symbol-versions.

>Should be ABI compatible, which comment are you referring to?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725153#60

>Well, my quick testing shows that a simple library swap isn't enough, 
>but 389 probably needs a rebuild against the new lib.

Doesn't matter anyway, if we're changing the symbol versions it's no 
longer hot-swappable, and I think changing those is probably safer.



More information about the Pkg-openldap-devel mailing list