Last active
July 25, 2022 16:07
-
-
Save rsperl/d40a123d32ba31f54228c2d76bfaec9f to your computer and use it in GitHub Desktop.
fix sasl.h is required error #python #ldap #snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # when you get the error "sasl.h is required" | |
| xcrun --show-sdk-path | |
| sudo ln -s <the_path_from_above_command>/usr/include /usr/include | |
| # if you get "Operation not permitted," you probably need to disable SIP: | |
| # reboot, hold down cmd-R, choose Utilities -> Terminal, type "csrutil disable," | |
| # reboot, try the steps above again | |
| pip install python-ldap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment