>Installing openldap 2.4.23

By | August 16, 2010


Installation of openldap latest version on centos and rhel need little bit extra effort. I tried to install openldap 2.4.23 after downloading it from http://www.openldap.org/software/download/. Going through README file of downloaded openldap source directory, i noticed that it require BDB 4.4 upto 4.8 version, which is not present in my centos system . So i downloaded BDB 4.8 from http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html. I installed BDB4.8 successfully in /usr/local directory then i tried to install openldap by moving to /usr/local/src/openldap-2.4.23

root# LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib CPPFLAGS=”-D_GNU_SOURCE -I/usr/local/BerkeleyDB.4.8/include” ./configure –enable-overlays

I found following error after issueing above command ‘Berkeley DB version mismatch’
Then i issued following given command to overcome that error
root#export LD_LIBRARY_PATH=/usr/local/src/db-4.8.30.NC/build_unix/.libs/
Here db-4.8.. is directory which i downloaded to install BDB4.8
Then configure worked sucessfully.

Share itShare on FacebookEmail this to someoneTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

Leave a Reply

Your email address will not be published. Required fields are marked *

Current month ye@r day *