I've installed BDB 4.1.25 (downloaded from Sleepycat). I have what appears to be appropriate headers and libraries in /usr/local/BerkeleyDB.4.1/include and /usr/local/BerkeleyDB.4.1/lib.
checking for db.h... yes checking for Berkeley DB link (default)... no checking for Berkeley DB link (-ldb4)... no checking for Berkeley DB link (-ldb-4)... no checking for Berkeley DB link (-ldb)... yes checking for Berkeley DB thread support... yes checking Berkeley DB version for BDB backend... no configure: error: BDB: BerkeleyDB version incompatible
What is wrong with it ?
Regards.
Pawel.