LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-06-2012, 08:22 AM   #1
midwest Jim
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
Trouble with openldap-2.4.23 and Berkely DB on Redhat Linux installation


I am attempting to install openldap-2.4.23 using the configure command and receiving the following error:
checking for db.h... yes
checking for Berkeley DB major version in db.h... 4
checking for Berkeley DB minor version in db.h... 3
checking if Berkeley DB version supported by BDB/HDB backends... no
configure: error: BerkeleyDB version incompatible with BDB/HDB backends

Does anyone know what the correct Berkeley DB version should be? TIA
 
Old 03-06-2012, 11:05 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

What is your redhat version?
The error means that you have to upgrade your Berkeley DB (db4) package to a newer version According to this you need at least version 4.4.

Regards
 
Old 03-07-2012, 03:00 PM   #3
midwest Jim
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. Our Red hat version is 5. Linux dr3zlvgov001 2.6.18-274.17.1.el5 #1 SMP Wed Jan 4 22:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
 
Old 03-07-2012, 03:45 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Is OpenLDAP 2.4 an absolute requirement? (I ask because 2.3 is available via the standard RHEL5 RHN channels.)

Last edited by anomie; 03-07-2012 at 03:48 PM.
 
1 members found this post helpful.
Old 03-08-2012, 12:50 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by midwest Jim View Post
Thanks for your reply. Our Red hat version is 5. Linux dr3zlvgov001 2.6.18-274.17.1.el5 #1 SMP Wed Jan 4 22:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
You can follow the instructions here to install a newer db4 and build openldap against it. Mind that before running "make" to compile openldap, you have to run "make depend" (it's missing in the above link).

HTH
 
Old 03-08-2012, 06:36 AM   #6
midwest Jim
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Not sure which link to follow.

Thanks Bathory,

I don't see the link in the thread. Please list it again. Jim
 
Old 03-08-2012, 06:47 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by midwest Jim View Post
Thanks Bathory,

I don't see the link in the thread. Please list it again. Jim
This:
http://www.openldap.org/lists/openld.../msg00046.html
 
Old 03-08-2012, 06:49 AM   #8
midwest Jim
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you sir!
 
  


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
Which version of Berkely DB msrit Linux - General 1 04-09-2006 04:08 PM
installing netatalk and berkely db barleykorn Linux - Newbie 3 03-15-2005 03:27 AM
Installation Trouble RedHat 9 2.4.20-6 surfmaster Linux - Software 6 07-17-2004 11:50 AM
Redhat installation trouble Onimoto Red Hat 4 05-18-2004 03:30 PM
redhat - installation trouble Onimoto Linux - Software 2 05-14-2004 01:08 PM

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

All times are GMT -5. The time now is 05:22 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