[python-ldap] Installation on FreeBSD via pypi
bogorodskiy at gmail.com
Sun Jun 21 19:29:55 CEST 2015
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
Looks like a typo, needs to be /usr/local/include/sasl I think.
It looks like a good set of defaults for library_dirs and include_dirs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 473 bytes
Desc: not available
More information about the python-ldap