[Gábor Gombás] Bug#564566: libkadm5clnt7: SONAME conflict with Heimdal

Tom Yu tlyu at mit.edu
Mon Jan 11 12:24:54 EST 2010


Luke Howard <lukeh at padl.com> writes:

> On 11/01/2010, at 5:58 PM, Nicolas Williams wrote:
>
>> Provided the libraries have different install locations, programs
>> properly use rpath, and that the Heimdal and MIT libraries need never be
>> loaded in the same process at once, then SONAME conflicts are not a
>> problem.
>> 
>> However, with plug-in interfaces galore it's very likely that both will
>> be loaded in the same process at some point.
>
> Right, but RTLD_LOCAL should be used (HDBBridge uses this to have Heimdal and MIT libraries in the KDC).

How well do various platforms cope with maintaining isolation between
shared libraries having the same SONAME but different contents?  If
the libraries with identical SONAMEs are run-time loaded with
RTLD_LOCAL and RTLD_GROUP?  If they are link-time dependencies of
intermediate libraries?  (Does Linux support RTLD_GROUP yet?)



More information about the krbdev mailing list