MacOS LDAP Error: sasl.h File Not Found

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"

Leonardo Lazzaro

Software engineer and technical writer. 10+ years experience in DevOps, Python, and Linux systems.

More articles by Leonardo Lazzaro