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

Steve Langasek vorlon at debian.org
Tue Oct 18 00:37:17 UTC 2011


On Thu, Oct 06, 2011 at 02:46:40AM +0300, Faidon Liambotis wrote:
> On Sun, Jan 09, 2011 at 05:36:46AM +0200, Faidon Liambotis wrote:
> > Everything but trivial perl scripts fail using slapd's back-perl,
> > probably for the reasons stated in this bug.

> > If I were opening the bug, I'd surely use a much more severe
> > severity, but since the maintainers have commented and haven't done
> > that, I'll refrain from doing so.

> > The symptoms are the same and LD_PRELOADing libperl fixes the problem.

> > However, this is on amd64 (and perl links to libperl) so, if I
> > understood correctly, this contradicts Russ' analysis.

> > Any reason not to apply the patch from #139 which allegedly fixes the issue?

> Ping?

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.

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.

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.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20111017/42ab9059/attachment.pgp>


More information about the Pkg-openldap-devel mailing list