Sunday, January 3, 2010

Compiling openvpn-auth-ldap on Debian

Here are the steps I followed to compile openvpn-auth-ldap plugin on Debian:


apt-get install re2c 
apt-get install libldap2-dev
apt-get install gobjc
./configure --prefix=/usr/local --with-openldap=/usr/include --with-openvpn=/usr/include/openvpn

The libldap2-dev package is required for openldap header files while the gobjc package is required to satisfy sanity check on cpp.  Openvpn's header files are installed by default in /usr/include/openvpn

No comments: