LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2005, 06:44 AM   #1
[GOD]Anck
Member
 
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Rep: Reputation: 35
OpenLDAP complains of Berkeley DB version mismatch


I'm trying to install OpenLDAP on a Slackware 10.1 system. I've downloaded the latest release from www.openldap.org, which is 2.2.24. When I run ./configure, it complains of a Berkeley DB version mismatch:

Code:
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)... yes
checking for Berkeley DB version match... Berkeley DB version mismatch
        header: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
        library: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
no
configure: error: Berkeley DB version mismatch
I've tried getting the latest version of Berkeley DB, 4.3.27, and it compiled and installed fine but OpenLDAP's ./configure then can't find it at all:

Code:
checking for db.h... no
configure: error: BDB/HDB: BerkeleyDB not available
How to proceed?

Last edited by [GOD]Anck; 03-19-2005 at 07:09 AM.
 
Old 03-19-2005, 07:22 AM   #2
Remmis
LQ Newbie
 
Registered: Mar 2005
Location: Maryland, US
Distribution: Linux From Scratch; Slackware
Posts: 10

Rep: Reputation: 0
It sounds like the db.h the configure script locates is a header file for DB version 3.3.11 but the library it locates is version 4.2.52. I believe on that system /usr/include/db.h is a symlink to /usr/include/db3/db.h. If you do "ln -sf /usr/include/db4/db.h /usr/include/db.h" that should fix it. (or point to wherever the 4.2.52 header resides)
 
Old 03-19-2005, 07:35 AM   #3
[GOD]Anck
Member
 
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 35
And so it does! Thank you.
 
Old 01-16-2009, 10:18 AM   #4
lite123
LQ Newbie
 
Registered: Jan 2009
Posts: 19

Rep: Reputation: 0
Unhappy

Hello,

I installed OpenLDAP 2.4.13 in Red Hat 9. I make All the steps for the compilation and installing. All the process was fine, but I run the command make test, after to run make (to OpenLDAP), the test begin, but it is stop and cannot finish. There is not any error message...I make ctrl+c to force the finish. I run make install and the installation was good. But I cannot find the file ldap to begin the ldap service.

What can I do?
 
Old 01-16-2009, 11:24 AM   #5
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 220

Rep: Reputation: 31
Quote:
Originally Posted by lite123 View Post
Hello,

I installed OpenLDAP 2.4.13 in Red Hat 9. I make All the steps for the compilation and installing. All the process was fine, but I run the command make test, after to run make (to OpenLDAP), the test begin, but it is stop and cannot finish. There is not any error message...I make ctrl+c to force the finish. I run make install and the installation was good. But I cannot find the file ldap to begin the ldap service.

What can I do?
Hi lite123 and welcome to the forums!

Since you are new, I'll throw you a few pointers.

First, your question is on Red Hat. This is the slackware forum. I suggest you post in the redhat forum on this board:

http://www.linuxquestions.org/questions/red-hat-31/

Second, you resurrected a thread that's five years old. You will get much better luck just creating a new thread in the redhat forum, and just post what you posted above. Somebody will most likely help you there.

It's been a few years since I installed openldap, so I'm not the best one to answer your question.

Again, welcome to the forums!
 
Old 01-16-2009, 11:42 AM   #6
lite123
LQ Newbie
 
Registered: Jan 2009
Posts: 19

Rep: Reputation: 0
Smile

Thank you for answer...I am new here...

Best Regards..
 
Old 06-08-2009, 01:54 AM   #7
whathappen
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Just export variable LD_LIBRARY_PATH to directory lib in sourcode

example :

i extract source code to /root/ldap/db-4.7.25

so i export variable as

LD_LIBRARY_PATH=/root/ldap/db-4.7.25/build_unix/.libs

export LD_LIBRARY_PATH
 
Old 06-08-2009, 01:54 AM   #8
whathappen
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Just export variable LD_LIBRARY_PATH to directory lib in sourcode

example :

i extract source code to /root/ldap/db-4.7.25

so i export variable as

LD_LIBRARY_PATH=/root/ldap/db-4.7.25/build_unix/.libs

export LD_LIBRARY_PATH


see detail at http://blogitknowledge.wordpress.com
 
  


Reply



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
dri version mismatch matrixon Linux - Software 0 06-27-2005 12:21 PM
Kernel version Source Version mismatch after recompile chuckleberry Linux - Software 1 06-20-2005 06:37 PM
Berkeley DB question: which version used for Slack? Darklion Slackware 1 12-06-2004 09:25 PM
Libpng version mismatch narc Linux - Software 0 08-19-2004 08:48 AM
kernel version mismatch jimo Linux - Software 3 10-29-2001 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 PM.

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