I\'m building OpenLDAP on a RHEL 5; I used instructions found at http://www.linux.com/archive/feature/113607.
All went well, until running \'./configure\' for OpenLDAP -
do yum install db4-devel
yum install db4-devel
(or just install the prepackaged openldap, yum install openldap-servers openldap-clients
yum install openldap-servers openldap-clients