[python-ldap] Installation on FreeBSD via pypi

Michael Ströder michael at stroeder.com
Sun Jun 21 19:51:17 CEST 2015

Roman Bogorodskiy wrote:
>   Michael Ströder wrote:
>> 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
>> /usr/include/local/sasl
>        ^^^^^^^^^^^^^
> Looks like a typo, needs to be /usr/local/include/sasl I think.

Thanks. Fixed.

> It looks like a good set of defaults for library_dirs and include_dirs.

Will be released with 2.4.20 probably pretty soon.

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/770e14d6/attachment-0001.bin>

More information about the python-ldap mailing list