[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: db-4.3.27 version mismatch with OL-2.2.22
Dieter Kluenter wrote:
Hello,
I have just installed BerkeleyDB-4.3.27 and OpenLDAP-2.2.22.
When running configure I get an error '-ldb-4.3 version mismatch',
following an excerpt from configure.log
Probably your BDB library is broken. Unfortunately the configure script
discards error messages when running the conftest program so any
relevant diagnostics disappear. I suggest you patch your configure
script near these lines ( 19933 and on ) and change anything that
directs to /dev/null to direct to descriptor 5 instead so it will go
into config.log, otherwise there is no way to tell what went wrong.
I do this as a matter of course with my builds (by patching autoconf
2.13.1) but Kurt hasn't picked up that autoconf patch for the official
OpenLDAP releases.
configure:18344: checking for Berkeley DB link (-ldb-4.3)
configure:18401: cc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.3/include -L/usr/local/BerkeleyDB.4.3/lib conftest.c -ldb-4.3 -pthread -lresolv 1>&5
configure:19885: checking for Berkeley DB version match
configure:19933: cc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.3/include -L/usr/local/BerkeleyDB.4.3/lib conftest.c -ldb-4.3 -pthread -lresolv 1>&5
configure: failed program was:
#line 19900 "configure"
#include "confdefs.h"
Any hints?
-Dieter
--
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support