Created
April 3, 2015 17:50
-
-
Save charlax/38ecd925a8bcb8cadcf5 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 |
It gives this error with this command
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'cc' failed with exit status ```
Thank you, this worked fine
thank you
thank you!!!!!!!!!!!!!!
Thank you!
and I used these commands on Windows 10
$ choco install openssl
$ pip install --global-option=build_ext --global-option="-IC:\Program Files\OpenSSL-Win64\include" m2crypto
It gives this error with this command
ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'cc' failed with exit status ```
any solutions to this?
It worked for me:
https://gitlab.com/m2crypto/m2crypto/-/blob/master/INSTALL.rst
Thank you, it's very helpful!
thank you @charlax
Still working on Ventura 31.1 thanks a lot
what about \OpenSSL\include\openssl\e_os2.h(255) : Error: Unable to find 'stdint.h'
? (win10, python3.11)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!!