LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wrong Berkeley database version... (https://www.linuxquestions.org/questions/linux-software-2/wrong-berkeley-database-version-720080/)

Stjohnbee 04-18-2009 03:32 PM

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


All times are GMT -5. The time now is 02:43 PM.