LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-18-2009, 03:32 PM   #1
Stjohnbee
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Wrong Berkeley database version...


Hi guys,

I'm trying to install openLDAP at the moment and it's falling over at the point that it's checking the database version.

I try to ./configure openldap with the following line

Code:
Ade$ LDFLAGS=-L/usr/local/BerkeleyDB.4.6/lib/ CPPFLAGS=-I/usr/local/BerkeleyDB.4.6/include/ ./configure CC=$DEVROOT/usr/bin/arm-apple-darwin9-gcc-4.0.1 LD=$DEVROOT/usr/bin/ld --host=arm-apple-darwin --with-yielding_select=yes --with-wrappers
the error message I get is...

Code:
checking for db.h... yes
checking for Berkeley DB major version in db.h... 1
checking for Berkeley DB minor version in db.h... 0
checking if Berkeley DB version supported by BDB/HDB backends... no
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
So it's obviously looking at the wrong db.h file as the one in /usr/local/BerkeleyDB.4.6/include/ has the correct version listed.

I can't find another db.h file that has the wrong version listed.

Anyone know where it might be getting that erroneous version number from?


Cheers
Ade
 
  


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
Installing the native Berkeley XML database (in Debian) Foomajick Linux - Software 1 12-16-2006 05:35 PM
LXer: Sleepycat Software Releases New Version of Berkeley DB Java Edition LXer Syndicated Linux News 0 01-31-2006 05:31 AM
Berkeley DB question: which version used for Slack? Darklion Slackware 1 12-06-2004 09:25 PM
slackware startx starts the wrong version, i didn't even know i had another version edman007 Linux - Software 3 05-16-2004 07:38 PM

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

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