(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.
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:

but the same problem

I'm using BerkeleyDB.4.7
[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