[Date Prev][Date Next] [Chronological] [Thread] [Top]

lt_dlopenext failed: (back_ldbm.la) file not found



i configure openldap-2.3.24:

./configure -prefix=/usr/local/ldap --with-ldbm-module --with-ldbm --enable-ldap --enable-modules
make depend && make && make install


uncomment slapd.conf:

moduleload      back_ldbm.la
database ldbm

../../sbin/slapadd
lt_dlopenext failed: (back_ldbm.la) file not found
slapadd: bad configuration file!

/usr/local/ldap/etc/openldap/slapd.conf: line 66: <database> failed init (ldbm)!
slapadd: bad configuration file!

i try find  back_ldbm.la into my disk, but it cant find.

If i try compile /tmp/openldap-2.3.24/servers/slapd/back-ldbm

# make

answer: run configure with --enable-ldbm to make back_ldbm

How can compile with modules?

2. How can upgrate openldap 1.x to openldap 2.x.

i have convert ldbmcat into ldif, and try   slapcat. But schemas are
different. Who convert schemas?