[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: ldbm_initialize - version mismatch



Your Berkeley DB installation is broken. This mesage indicates that OpenLDAP
was compiled with the BDB 3.2.9 header files but executed with the BDB 4
dynamic libraries in your load path.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of IEEE Consulting
> Sent: Wednesday, January 23, 2002 9:33 AM
> To: openldap-bugs@OpenLDAP.org
> Subject: ldbm_initialize - version mismatch
>
>
> Hello,
>
> When I try to start the OpenLDAP engine, I receive the following error
> message:
>
> 	ldbm_initialize(): version mismatch expected: Sleepycat
> Software: Berkeley
> DB 3.2.9:
> 	(January 24, 2001) got: Sleepycat Software: Berkeley DB
> 4.0.14: (November
> 18, 2001)
>
> Here's what I did to compile and install the environment:
>
> 1) compiled and installed BerkeleyDB 4.014 using:
>
> 	../dist/configure
>
> 2) compiled and installed OpenLDAP 2.0.21 using:
>
> 	env CPPFLAGS="-I/usr/local/include/kerberosIV"
> LDFLAGS="-L/usr/local/kerberos/lib"
> 	./configure --enable-kpasswd --enable-spasswd --enable-module
>
>
> My previous environment was:
>
> 	- Redhat 7.2 (2.4.7-10)
> 	- BerkeleyDB 3.3
> 	- OpenLDAP 2.0.18
> 	- Cyrus IMAP 2.0.16 (Update to 2.1.1)
> 	- SASLV2 Beta (Updated to SASL V2 Production Release)
>
> Current Environemnt is:
>
> 	- Redhat 7.2 (2.4.7-10) *all updates applied via "up2date" -u"
> 	- BerkeleyDB 4.0.14
> 	- OpenLDAP 2.0.21
> 	- Cyrus IMAP 2.1.1
> 	- SASL V2 Production Release
> 	- Kerberos 1.2.3
>
> Other pertinent error messages when starting OpenLDAP are:
>
> 	imapd[1872]: unable to dlopen /usr/lib/sasl2/libdigestmd5.so.2:
> /usr/lib/sasl2/libdigestmd5.so.2:
> 	undefined symbol: des_ede2_cbc_encrypt
>
> 	imapd[1872]: server add_plugin entry_point error -1
>
> 	*** These relate to the Kerberos "/etc/srvtab" file but
> shouldn't prevent
> OpenLDAP from starting (could be wrong).
>
> Have any ideas why I'm getting a version mismatch? I t looks like an OLD
> BerkeleyDB library issue.....
>
>
> consulting@ieee.org
>