<quote who="Howard Chu">
---------------------------- Original Message
Subject: Can't compile OpenLDAP with Berkekey DB: File format not recognized From: ben@fallinganvils.com Date: Wed, November 28, 2007 10:41 pm To: openldap-bugs@openldap.org
This is my first openldap install.
Pay attention to details.
This is what I do :
- Install Berkeley DB 4.6.21 in /home/ben/opt/bdb
$ cd db-4.6.21/build_unix $ ../dist/configure --prefix=/home/ben/opt/bdb $ make && make install $ export LD_RUN_PATH=/home/ben/opt/bdb/lib $ export CPPFLAGS='-I /home/ben/opt/bdb/include' $ export LDFLAGS='-L /home/ben/opt/bdb/lib'
There must not be any spaces between "-L" or "-I" and the path.
Nice catch.
openldap-software@openldap.org