(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) Trash : (Answer) Why does the configure script report "BerkeleyDB version incompatible"?
The configure script is probably looking in /usr/local for the Berkeley DB headers and libraries, which are normally installed on Mac OS X under /usr/local/BerkeleyDB/

You should be able to fix this problem by typing the following:

$ sudo ln -s /usr/local/BerkeleyDB/include/* /usr/local/include/
$ sudo ln -s /usr/local/BerkeleyDB/lib/* /usr/local/lib/

The config script should now find the BDB files without any additional options or variables.
d332nu75@yahoo.com
I tried with
ln -s /usr/local/BerkeleyDB/include/* /usr/local/include/
ln -s /usr/local/BerkeleyDB/lib/* /usr/local/lib/

but still same problem

I found this:
http://forums.devshed.com/bsd-help-31/configure---prefix-usr-local-openldap---enable-aci-259002.html

but the same problem

I'm using BerkeleyDB.4.7
onchi@lycos.com
[Append to This Answer]
Previous: (Answer) Likken
Next: (Answer) New Item
This document is: http://www.openldap.org/faq/index.cgi?file=1263
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org