Comment 13 for bug 90812

Revision history for this message
In , Stephen Gran (sgran) wrote : Re: [Pkg-openldap-devel] Bug#327585: reopening

This one time, at band camp, Russ Allbery said:
> Stephen Gran <email address hidden> writes:
>
> > reopen 327585
> > found 327585 2.3.35-1
> > thanks
> >
> > This is in all likelihood not fixed (I am struggling with similar issues
> > in freeradius, and I can guarantee the same techniques are not working
> > there, and we both use the Debian ltdl). See
> > https://bugs.launchpad.net/openldap/+bug/90812 for more reports of it
> > being broken.
>
> Well, I tested the Perl backend in slapd a while back and it worked for
> me, so I really do think this bug is closed. That's why I closed it. If
> it isn't working for you, could you please report the exact error messages
> that you're getting against the current version of the OpenLDAP slapd
> package?

steve@spartacus:~$ sudo /etc/init.d/slapd start
Starting OpenLDAP: slapd - failed:
Error Can't load '/usr/lib/perl/5.8/auto/POSIX/POSIX.so' for module POSIX: /usr/lib/perl/5.8/auto/POSIX/POSIX.so: undefined symbol: PL_sig_name at /usr/lib/perl/5.8/XSLoader.pm line 70.
 at /usr/lib/perl/5.8/POSIX.pm line 26
Compilation failed in require at /etc/perl/SampleLDAP.pm line 2.
BEGIN failed--compilation aborted at /etc/perl/SampleLDAP.pm line 2.
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted at (eval 2) line 1.

Can't call method "config" on an undefined value.
steve@spartacus:~$ dpkg -l slapd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii slapd 2.4.7-4 OpenLDAP server (slapd)

This is with the configuration and module described at
https://bugs.launchpad.net/openldap/+bug/90812

This is a symbol visibility problem caused by dlopening an embedded
interpreter and using Debian's ltdl, which resolves symbols without
RTLD_GLOBAL.

Thanks,
--
 -----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : <email address hidden> |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
 -----------------------------------------------------------------