OpenLDAP
lastmod 2025-02-14created 2014-01-1019 edits
OpenLDAP Software is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. It is released under its own BSD-style license called the OpenLDAP Public License. LDAP is a platform-independent protocol. Several common Linux distributions include OpenLDAP Software for LDAP support. The software also runs on BSD-variants, as well as AIX, Android, HP-UX, Mac OS X, Solaris, Microsoft Windows (NT and derivatives, e.g. 2000, XP, Vista, Windows 7, etc.), and z/OS.
License
How to compile
First, you need to compile Berkeley DB#How To Compile. After compiling it, enter the following.
BDBP_REFIX=/Users/yourname/Programs/db-6.0.20/
./configure CFLAGS="-I$BDBP_REFIX/include/" CPPFLAGS="-I$BDBP_REFIX/include/" LDFLAGS="-L$BDBP_REFIX/lib/"
make depend
make
make install
Troubleshooting
If ltdl.h does not exist, the following error message may appear during the make depend step.
In this case, you need to compile Libtool. Note that you can also add libltdl through UnixODBC.