LDAP

OpenLdap

Recently had to compile a much older version of OpenLDAP version 2.2.24 on relatively newer distro, in this case, SLES 11.  I couldn’t find any working RPMs for this older software, so I decided to compile from src.

Here’s what I did, maybe this could help someone else..

Download Berkley DB, Oracle now owns Berkley DB which used to be owned by SleepyCat.  Anyhow Oracle now charges for the newer copies of BerkleyDB (DAMN Oracle!) but you still can grab the older versions under GPL.

$ cd /tmp

$ wget http://download.oracle.com/berkeley-db/db-4.3.29.tar.gz

$ tar -xvzf db-4.3.29.tar.gz

$ cd /tmp/usr/local

$ mv BerkeleyDB.4.3 /usr/local

To get OpenLDAP 2.2.24 to compile, had to setup some environment varibles first..

To make and install: