Build Errors (LDAP_OPT_X... undeclared)

Michael Ströder michael at stroeder.com
Fri Sep 14 13:47:40 CEST 2007


Eric Carty-Fickes wrote:
> I am trying to build python-ldap (2.3.1) on a RH Linux box.  I
> installed openldap (2.3.38) from source with the default settings and
> had no problems.  I also have a source install of Python 2.4.4.
> 
> In setup.cfg I modified these two lines:
> library_dirs = /usr/local/lib
> include_dirs = /home/eric/openldap-2.2.13/include /usr/include/sasl

python-ldap 2.3+ strictly requires OpenLDAP libs 2.3.x. Fix include_dirs
in your setup.cfg to reflect this.

Ciao, Michael.



More information about the python-ldap mailing list