-
-
Save iplanetcn/62843e82d6d790a5a13a757c2b102411 to your computer and use it in GitHub Desktop.
Fix Unable to find 'openssl/opensslconf.h'
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
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