[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
--enable-perl and perl 5.8.0 (ITS#2554)
Full_Name: Norbert Klasen
Version: 2.1.21-rel-eng
OS: SuSE Linux 8.1
URL:
Submission from: (NULL) (217.82.14.74)
When using the definitions that where intended for WIN32_ASPERL i can
successfully build back-perl as a module. However, loading the module into slapd
fails:
line 23 (modulepath /usr/local/openldap/libexec/openldap)
line 29 (moduleload back_perl.la)
lt_dlopen failed: (back_perl.la)
/usr/local/openldap/libexec/openldap/back_perl.so.2: undefined symbol:
boot_DynaLoader
/usr/local/openldap/etc/openldap/slapd.conf: line 29: failed to load or
initialize module back_perl.la
patch to perl_back.h
Index: perl_back.h
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/back-perl/perl_back.h,v
retrieving revision 1.4.2.2
diff -u -r1.4.2.2 perl_back.h
--- perl_back.h 13 Mar 2003 01:09:09 -0000 1.4.2.2
+++ perl_back.h 26 May 2003 19:20:53 -0000
@@ -23,7 +23,7 @@
# define na PL_na
#endif
-#ifdef HAVE_WIN32_ASPERL
+#ifndef HAVE_WIN32_ASPERL
/* pTHX is needed often now */
# define PERL_INTERPRETER my_perl
# define PERL_BACK_XS_INIT_PARAMS pTHX
openldap was configured as:
./configure --prefix=/usr/local/openldap --disable-ipv6 --with-cyrus-sasl
--without-kerberos --enable-crypt --enable-lmpasswd --enable-monitor
--enable-modules --enable-rlookups --enable-meta --with-meta-module=dynamic
--enable-perl --with-perl-module=dynamic --enable-ldap
--with-ldap-module=dynamic --enable-rewrite
output of perl -V:
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.19, archname=i586-linux-thread-multi
uname='linux bloembergen 2.4.19 #1 mon apr 15 08:57:26 gmt 2002 i686 unknown
'
config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm
-Di_gdbm -Duseshrplib=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3 --pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
ccversion='', gccversion='3.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Sep 9 2002 18:13:56
@INC:
/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.