[python-ldap] Installation on FreeBSD via pypi

Michael Ströder michael at stroeder.com
Sun Jun 21 13:36:32 CEST 2015

Roman Bogorodskiy wrote:
> Installation through pip doesn't work out of the box, e.g. running
> pip install python-ldap
> fails with:
> [..]
> This happens because openldap-client installed from FreeBSD ports installs headers
> into /usr/local/include and libs into /usr/local/lib, however, these are
> not listed in compiler flags.

Thinking about different platforms the issue is even broader

How about this one in setup.cfg:

library_dirs = /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
include_dirs = /usr/include /usr/include/sasl /usr/local/include

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4272 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150621/99034bcb/attachment.bin>

More information about the python-ldap mailing list