Friday, December 12, 2014

Install python-ldap on macos

When install python-ldap on macos, you may get an error about sasl.h. To resolve this error, use the following commands,

$ xcrun --show-sdk-path 
$ sudo ln -s /usr/include /usr/include
$ pip install python-ldap

More details on the issue can be found here.