[Pkg-openldap-devel] Bug#327585: Bug#327585: slapd: perl backend failed to load XS (unknown symbols)

Faidon Liambotis paravoid at debian.org
Tue Oct 18 07:22:31 UTC 2011


On Mon, Oct 17, 2011 at 05:37:17PM -0700, Steve Langasek wrote:
> As Russ has said earlier in the bug thread, the *right* fix is to fix perl
> on i386 so that everything is linked against libperl.  All other solutions
> are workarounds, not fixes.

As *you* :) pointed out later (#60) in the bug thread —and I can confirm— this
is not i386-specific. Perl XS modules are not linked against libperl in other
arches as well, at least amd64.

> The patch proposed in message #139 carries side effects, because it will
> cause openldap to open all modules with RTLD_GLOBAL.  This increases the
> risk of a symbol collision causing openldap to crash (the precise issue that
> libltdl was switched to RTLD_LOCAL to avoid), and even if that doesn't
> result in a bug now, it might do so in the future.  So I'm not thrilled
> about this patch.

Ouch. No chance into getting this to spu then…

> But it seems to be the best we can do short of the perl fix, on which
> there's been no movement.  So I'll go ahead and apply this patch.

Thanks for the effort!

Best regards,
Faidon





More information about the Pkg-openldap-devel mailing list