OpenLDAP doesn't like my bdb for some reason...

michaelsanford

Translator, Web Developer
I'm trying to build the latest stable OpenLDAP on my Slackware box as follows :

root@trogdor:~/openldap-2.2.17# ./configure --enable-wrappers --with-threads --with-ipv6 --with-local
Copyright 1998-2004 The OpenLDAP Foundation. All rights reserved.
Restrictions apply, see COPYRIGHT and LICENSE files.
Configuring OpenLDAP 2.2.17-Release ...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
----blah blah blah----
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb42)... no
checking for Berkeley DB link (-ldb-42)... no
checking for Berkeley DB link (-ldb-4.2)... yes
checking for Berkeley DB version match... Berkeley DB version mismatch
expected: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
got: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
no
configure: error: Berkeley DB version mismatch



Why is it expectng 3.3.11 when I have 4.2 installed and linking to 4.2 ? :confused:

PS AFAIK I have the latest Sleepycat 4.2 bdb installed (but I did reformat recently so I MAY have forgotten to install it). Is this enough confirmation ? (I don't know anything about how bdb works)
/usr/include/db3
/usr/include/db3/db.h
/usr/include/db3/db_185.h
/usr/include/db3/db_cxx.h
/usr/include/db.h
/usr/include/db31
/usr/include/db31/db.h
/usr/include/db31/db_185.h
/usr/include/db31/db_cxx.h
/usr/include/db4
/usr/include/db4/db.h
/usr/include/db4/db_185.h
/usr/include/db4/db_cxx.h
/usr/bin/db2html
/usr/bin/db2ps
/usr/bin/db2dvi
/usr/bin/db2pdf
/usr/bin/db2rtf
/usr/bin/dbiprof
/usr/bin/dbiproxy
/usr/bin/db_stat
/usr/bin/db_verify
/usr/bin/db_checkpoint
/usr/bin/db_upgrade
/usr/bin/db_archive
/usr/bin/db_deadlock
/usr/bin/db_recover
/usr/bin/db_printlog
/usr/bin/db_dump
/usr/bin/db_load
/usr/bin/db4_checkpoint
/usr/bin/db4_dump
/usr/bin/db4_load
/usr/bin/db4_stat
/usr/bin/db4_upgrade
/usr/bin/db4_verify
/usr/bin/db4_deadlock
/usr/bin/db4_archive
/usr/bin/db4_printlog
/usr/bin/db4_recover
/usr/bin/dbmmanage
 
Back
Top