}

Fixing the error: Modules/LDAPObject.c:18:10: fatal error: 'sasl.h' file not found

Created:

Introduction

In order to solve the error of the missing sasl.h file not found, use the following parameters of pip like this example:

pip install python-ldap \
   --global-option=build_ext \
   --global-option="-I$(xcrun --show-sdk-path)/usr/include/sasl"