|OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Installation : 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.
|[Append to This Answer]|
|Previous:||Which version of BerkeleyDB should I use?|
|Next:||Can I use the version of Berkeley DB that my system came with?|