-
-
Save sarkis/82bf4f6c5907a3b3eedf903404a99cff to your computer and use it in GitHub Desktop.
Fix Unable to find 'openssl/opensslconf.h'
This file contains 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
SWIG/_m2crypto.i:30: Error: Unable to find 'openssl/opensslv.h' | |
SWIG/_m2crypto.i:33: Error: Unable to find 'openssl/safestack.h' | |
SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h' | |
SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h' | |
error: command 'swig' failed with exit status 1 | |
Solution: | |
$ brew install openssl | |
$ pip install --global-option=build_ext --global-option="-I/usr/local/opt/openssl/include" m2crypto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment