My ./configure:
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-static --enable-shared --libexecdir=/usr/lib64/openldap --enable-slapd --enable-slurpd --enable-ldbm --enable-bdb --with-ldbm-api=berkeley --enable-hdb=mod --enable-passwd=mod --enable-phonetic=mod --enable-dnssrv=mod --enable-ldap --enable-meta=mod --enable-monitor=mod --enable-null=mod --enable-shell=mod --enable-perl=mod --disable-sql --enable-syncprov --enable-crypt --enable-slp --enable-rewrite --enable-rlookups --enable-aci --enable-modules --enable-cleartext --enable-slapi --with-lmpasswd --enable-dyngroup --enable-proxycache --enable-syslog --enable-dynamic --enable-local --enable-proctitle --disable-ipv6 --enable-readline --with-cyrus-sasl --enable-spasswd --enable-wrappers --with-tls --disable-overlays --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
2006/6/17, Leandro Melo de Sales <leandroal@gmail.com>:Hi,
I configured my openldap and I run slaptest and got this:
# slaptest -d 10 lt_dlopenext failed: (back_ldbm.la) file not found slaptest: bad configuration file!
How can I get back_ldbm.la file? The openldap version is 2.3.24-r1.
Thank you,
Leandro.
--------------
slapd.conf
include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema
password-hash {md5} pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args
modulepath /usr/lib64/openldap/openldap moduleload back_ldbm.la
TLSCertificateFile /etc/ssl/ldap.pem TLSCertificateKeyFile /etc/openldap/ssl/ldap.pem TLSCACertificateFile /etc/ssl/ldap.pem
database ldbm suffix "dc=my,dc=domain" directory /var/lib/openldap-ldbm index objectClass eq rootdn "cn=Manager,dc=my,dc=domain" rootpw {MD5}xxxxxxxx
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/