(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Installation : (Answer) Which version of BerkeleyDB do I have?
Locate <db.h> (/usr/include/db.h, /usr/local/include/db.h, /usr/local/BerkeleyDB/include/db.h, ...) and grep for DB_VERSION_STRING.
 grep DB_VERSION_STRING /usr/local/BerkeleyDB.4.2/include/db.h
 #define DB_VERSION_STRING "Sleepycat Software: Berkeley DB ..."

If <db.h> doesn't contain a DB_VERSION_STRING, you likely have BerkeleyDB 1.x. Upgrade!
[Append to This Answer]
Previous: (Answer) Which version of BerkeleyDB should I use?
Next: (Answer) Can I use the version of Berkeley DB that my system came with?
This document is: http://www.openldap.org/faq/index.cgi?file=251
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org