I'm trying to install python-ldap on a Gentoo Server. It is running a Django application which I want to use LDAP Auth. Im using virtualenv to manage my python dependencies. I can't install python-ldap with pip in my virtualenv. It always fails to compile the C parts. I tried to emerge openldap but I alway get "sasl.h no such file or directory". Have anyone managed to get python-ldap working on Gentoo? Im using Python 2.7
Regards, Philip