openbsd shen openbsd.shen@gmail.com writes:
I use these command to install openldap 2.4.16: env CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib" ./configure --prefix=/usr/local/openldap --enable-ldbm --enable-crypt make depens make
you have built the wrong database, ldbm is not supported anymore, although database bdb has been build, due to default --enable-bdb=yes, you should run ./configure --help | more to get all valid configure flags.
-Dieter