Hello All: I’m trying to implement back-perl in OpenLDAP 2.3.43
on Debian Lenny. I compiled my own perl due to difficulties with Perl 5.10.x
as provided by Debian. Perl is version 5.8.9, lives in /cnu/opt/openldap-perl, and
was compiled with “-des -Dprefix=/cnu/opt/openldap-perl
-Dusesitecustomize -Dusethreads –Duseshrplib”. On starting openldap I get the following error: #slapd -h 'ldap:/// ldaps:/// ldapi:///' -f
/etc/openldap/slapd.conf Error Can't load
'/cnu/opt/openldap-perl/lib/5.8.9/i686-linux/auto/Fcntl/Fcntl.so' for module
Fcntl: /cnu/opt/openldap-perl/lib/5.8.9/i686-linux/auto/Fcntl/Fcntl.so:
undefined symbol: PL_curpad at /cnu/opt/openldap-perl/lib/5.8.9/i686-linux/XSLoader.pm
line 70. at
/cnu/opt/openldap-perl/lib/5.8.9/i686-linux/Fcntl.pm line 215 BEGIN failed--compilation aborted at
/cnu/opt/openldap-perl/lib/5.8.9/i686-linux/Fcntl.pm line 216. Compilation failed in require at
/cnu/opt/openldap-perl/lib/5.8.9/i686-linux/POSIX.pm line 21. BEGIN failed--compilation aborted at
/cnu/opt/openldap-perl/lib/5.8.9/i686-linux/POSIX.pm line 21. Compilation failed in require at /etc/openldap/SampleLDAP.pm
line 28. BEGIN failed--compilation aborted at
/etc/openldap/SampleLDAP.pm line 28. Compilation failed in require at (eval 6) line 1. BEGIN failed--compilation aborted at (eval 6) line 1. Back-perl configuration is as follows: database perl suffix
"dc=virtualcnu,dc=com" perlModulePath /etc/openldap perlModule SampleLDAP Adding more perlModulePath lines such as: perlModulePath
/cnu/opt/openldap-perl/lib/5.8.9/i686-linux perlModulePath /cnu/opt/openldap-perl/lib/5.8.9 perlModulePath
/cnu/opt/openldap-perl/lib/site_perl/5.8.9/i686-linux perlModulePath
/cnu/opt/openldap-perl/lib/site_perl/5.8.9 Has no effect. I have verified that the files in question do
exist. I’ve also tried compiling perl with only “-des
-Dprefix=/cnu/opt/openldap-perl” I’m running the unmodified SampleLDAP.pm from the
source distribution. The perl binary (/cnu/opt/openldap-perl/bin/perl) runs
normally otherwise. Help? Thank you! -Marshall Buschman |