[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Configure OpenLDAP 2.2.19 with Berkeley 4.3.21 on Solaris
Why are you specifying
--with-ldbm-api=berkeley ?
enable-ldbm is [no] by default.
If you want ldbm then you must enable that as well.
I figure if you build Berkeley 4.3.21 you probably want 'bdb' instead. I've just made the switch and things are much improved.
-Patrick
On Dec 14, 2004, at 2:25 PM, 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.
Now, I want to configure OpenLDAP.
I use the following command:
env CPPFLAGS=-I/usr/local/BerkeleyDB/include \
LDFLAGS=-L/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.
Thanks
-Reinhard