cerberus [15:19:54] $ CPPFLAGS="-I/usr/local/include/db4" LDFLAGS="-L/usr/local/lib/db4" ./configure --enable-bdb --enable-hdb
checking for db.h... yes checking for Berkeley DB major version... 4 checking for Berkeley DB minor version... 2 checking for Berkeley DB link (-ldb42)... no checking for Berkeley DB link (-ldb-42)... no checking for Berkeley DB link (-ldb-4.2)... no checking for Berkeley DB link (-ldb-4-2)... no checking for Berkeley DB link (-ldb-4)... no checking for Berkeley DB link (-ldb4)... no checking for Berkeley DB link (-ldb)... yes checking for Berkeley DB version match... yes checking for Berkeley DB thread support... yes checking Berkeley DB version for BDB/HDB backends... yes On Saturday 17 June 2006 13:08, Sandro guly Zaccarini wrote: > > $ /usr/local/libexec/slapd > Unrecognized database type (bdb) > > > > trying to compile from scratch openldap sources i follow into this > error: > checking for Berkeley DB major version... 1 > checking for Berkeley DB minor version... 0 > checking for Berkeley DB link (-ldb1)... no > checking for Berkeley DB link (-ldb-1)... no > checking for Berkeley DB link (default)... no > configure: error: BDB/HDB: BerkeleyDB not available > > of course in the first error I have db-4.2.52p8 installed and openldap > was installed from pkg. > the second, i tried with 4.2.52 from ports and with 4.2.52 from sleepycat > (with the four patches and also with 4+unofficial one on openldap.org > cvs) and ldflags/cflags was exported correctly (i suppose.. ) > > what's up? > > sz >