slapd with backend ldap fails in Warty and Hoary Array 3

Herbert Straub herbert at linuxhacker.at
Mon Feb 14 07:05:00 UTC 2005


with relocation error. Here are the output of slapd -d -1 (on Hoary, but the
same happens on Warty):

[...]
line 18 (schemacheck     on)
line 22 (pidfile         /var/run/slapd/slapd.pid)
line 25 (argsfile        /var/run/slapd.args)
line 28 (loglevel        0)
line 31 (modulepath /usr/lib/ldap)
line 32 (moduleload back_ldap)
loaded module back_ldap
module back_ldap: null module registered
line 38 (backend        ldap)
line 50 (database        ldap)
slapd: relocation error: /usr/lib/ldap/back_ldap.so: undefined symbol:
rewrite_info_init


I have found the following Debian Bug Entry (#238444):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=238444

With the following patch, the slapd works with backend ldap:

diff -u openldap2-2.1.30.ORIG/debian/configure.options
openldap2-2.1.30/debian/configure.options
--- openldap2-2.1.30.ORIG/debian/configure.options      2005-02-09
11:22:02.977329000 +0100
+++ openldap2-2.1.30/debian/configure.options   2005-02-09 11:32:18.473759656
+0100
@@ -119,7 +119,7 @@
 #     --enable-ldap      enable ldap backend [no]
 --enable-ldap
 #     --with-ldap-module         module type static|dynamic [static]
---with-ldap-module=dynamic
+--with-ldap-module=static
 #     --enable-ldbm      enable ldbm backend [no]
 --enable-ldbm
 #     --with-ldbm-api       with LDBM API auto|berkeley|bcompat|mdbm|gdbm
[auto]
@@ -130,7 +130,7 @@
 #     --enable-meta      enable metadirectory backend [no]
 --enable-meta
 #     --with-meta-module         module type static|dynamic [static]
---with-meta-module=dynamic
+--with-meta-module=static
 #     --enable-monitor   enable monitor backend [no]
 --enable-monitor
 #     --with-monitor-module module type static|dynamic [static]



Best Regards
Herbert Straub




More information about the ubuntu-users mailing list