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

Re: Configure OpenLDAP 2.2.19 with Berkeley 4.3.21 on Solaris




On Tue, 14 Dec 2004, Reinhard Nappert wrote:

Hi,

I built Berkeley 4.3.21 and installed it in /usr/local/BerkeleyDB. I
added "/usr/local/BerkeleyDB" to my LD_LIBRARY_PATH environment.

You should have added /usr/local/BerkeleyDB/lib.

Now, I want to configure OpenLDAP.

I use the following command:

env CPPFLAGS=-I/usr/local/BerkeleyDB/include \
     LDFLAGS=-L/usr/local/BerkeleyDB/lib \

Try LDFLAGS="-L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib"

./configure --prefix=/opt/openldap --with-ldbm-api=berkeley

It finds the db.h file and is not able to do the Berkeley DB link. The
following is the output of configure:

checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb43)... no
checking for Berkeley DB link (-ldb-43)... no
checking for Berkeley DB link (-ldb-4.3)... no
checking for Berkeley DB link (-ldb-4-3)... no
checking for Berkeley DB link (-ldb42)... no
checking for Berkeley DB link (-ldb-42)... no
checking for Berkeley DB link (-ldb-4.2)... no
checking for Berkeley DB link (-ldb-4-2)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... no
checking for Berkeley DB link (-ldb-4-1)... no
checking for Berkeley DB link (-ldb3)... no
checking for Berkeley DB link (-ldb-3)... no
checking for Berkeley DB link (-ldb2)... no
checking for Berkeley DB link (-ldb-2)... no
checking for Berkeley DB link (-ldb1)... no
checking for Berkeley DB link (-ldb-1)... no
configure: error: BDB: BerkeleyDB not available

I have seen many posts with similar messages, but none of the
suggestions did solve my issue.
Any help is very much appreciated.

Check config.log for more clues.

--
Igor