<quote who="Howard Chu"> >> ---------------------------- Original Message >> ---------------------------- >> Subject: Can't compile OpenLDAP with Berkekey DB: File format not >> recognized >> From: [EMAIL PROTECTED] >> Date: Wed, November 28, 2007 10:41 pm >> To: [EMAIL PROTECTED] >> -------------------------------------------------------------------------- >> >> This is my first openldap install. > > Pay attention to details. > >> This is what I do : >> >> 1) 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.
