Compiling OpenLDAP
In the last section we prepared all of the tools and libraries for building OpenLDAP. In this section we will configure, compile, and test OpenLDAP.
First, we need to get our OpenLDAP server source code moved into a temporary directory for building. Copy the openldap-2.3.x.tgz
file into the appropriate directory and then unpack the file:
$ mkdir build/ $ cp openldap-2.3.37.tgz build/ $ cd build $ tar -zxf openldap-2.3.37.tgz
Here, I created a new directory (called build/
), copied the OpenLDAP source code archive into the new directory, changed the working directory to build/
, and then unpacked the file with the tar
utility (the flags -zxf
instruct tar to uncompress (z
) and extract the contents (x
) of the file (f
) openldap-2.3.37.tgz ...
Get Mastering OpenLDAP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.