LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2005, 09:10 PM   #1
kgao
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Rep: Reputation: 0
Openldap BerkeleyDB version imcompatible


When I try to install openldap and find the following problem:

[root@crane openldap-2.2.24]# ./configure
Copyright 1998-2005 The OpenLDAP Foundation. All rights reserved.
Restrictions apply, see COPYRIGHT and LICENSE files.
Configuring OpenLDAP 2.2.24-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
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
............

checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb43)... no
checking for Berkeley DB link (-ldb-43)... no
checking for Berkeley DB link (-ldb-4.3)... no
checking for Berkeley DB link (-ldb-4-3)... no
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 backend... no
configure: error: BDB/HDB: BerkeleyDB version incompatible

Anyone can kindly point out what to do next?
Thanks in advance.
 
Old 04-11-2005, 10:26 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
it looks for libdb-4.2 and doesn't find it but does find just libdb
that must be a link yes named libdb.so but what is it pointing to ?
show us
ls -l /usr/lib | grep libdb
 
Old 04-12-2005, 06:24 PM   #3
kgao
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Here are the list result:

-rwxr-xr-x 1 root root 55064 Jun 9 2003 libdb1.so.2
-rw-r--r-- 1 root root 1065480 Aug 21 2003 libdb-4.1.a
-rw-r--r-- 1 root root 714 Aug 21 2003 libdb-4.1.la
lrwxr-xr-x 1 root root 22 Apr 11 19:27 libdb-4.1.so -> ../../lib/libdb-4.1.so
-rwxr-xr-x 1 root root 532336 Aug 21 2003 libdb_cxx-3.1.so
-rwxr-xr-x 1 root root 722704 Aug 21 2003 libdb_cxx-3.2.so
-rwxr-xr-x 1 root root 631056 Aug 21 2003 libdb_cxx-3.3.so
-rwxr-xr-x 1 root root 736404 Aug 21 2003 libdb_cxx-4.0.so
-rw-r--r-- 1 root root 1159038 Aug 21 2003 libdb_cxx-4.1.a
-rw-r--r-- 1 root root 732 Aug 21 2003 libdb_cxx-4.1.la
-rwxr-xr-x 1 root root 860532 Aug 21 2003 libdb_cxx-4.1.so
lrwxr-xr-x 1 root root 16 Apr 11 19:42 libdb_cxx.so -> libdb_cxx-4.1.so
lrwxr-xr-x 1 root root 15 Apr 11 19:50 libdbi.so.0 -> libdbi.so.0.0.4
-rwxr-xr-x 1 root root 39784 Jan 31 2003 libdbi.so.0.0.4
lrwxr-xr-x 1 root root 22 Apr 11 19:42 libdb.so -> ../../lib/libdb-4.1.so
lrwxr-xr-x 1 root root 11 Apr 11 19:46 libdb.so.2 -> libdb1.so.2
-rwxr-xr-x 1 root root 573016 Aug 21 2003 libdb_tcl-3.1.so
-rwxr-xr-x 1 root root 774104 Aug 21 2003 libdb_tcl-3.2.so
-rwxr-xr-x 1 root root 676248 Aug 21 2003 libdb_tcl-3.3.so
-rwxr-xr-x 1 root root 781316 Aug 21 2003 libdb_tcl-4.0.so
-rw-r--r-- 1 root root 1228656 Aug 21 2003 libdb_tcl-4.1.a
-rw-r--r-- 1 root root 732 Aug 21 2003 libdb_tcl-4.1.la
-rwxr-xr-x 1 root root 911672 Aug 21 2003 libdb_tcl-4.1.so
lrwxr-xr-x 1 root root 16 Apr 11 19:42 libdb_tcl.so -> libdb_tcl-4.1.so
 
Old 04-12-2005, 07:26 PM   #4
kgao
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I installed 4.2.52, and fixed problem

Thank you foo_bar_foo for your kind suggest. I finally installed the 4.2.52 and copied db.h to /usr/include, and all new libdbs to /usr/lib. That fixed the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenLDAP complains of Berkeley DB version mismatch [GOD]Anck Slackware 7 06-08-2009 01:54 AM
Problem on OpenLDAP and BerkeleyDB in Fedora Core 2 seekl Linux - Newbie 0 06-21-2005 04:51 AM
Realplayer imcompatible with arts engine? irfanhab Linux - Software 1 03-13-2005 03:43 AM
Dsniff can't find BerkeleyDB cktl50 Linux - General 1 08-04-2003 10:02 PM
BerkeleyDB Dilemma ? AutoBot Linux - General 9 06-02-2002 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration