Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: OpenSSL EC detection fails on macOS #734

Closed
fanquake opened this issue Apr 9, 2020 · 2 comments · Fixed by #735
Closed

build: OpenSSL EC detection fails on macOS #734

fanquake opened this issue Apr 9, 2020 · 2 comments · Fixed by #735

Comments

@fanquake
Copy link
Member

fanquake commented Apr 9, 2020

./configure --enable-openssl-tests
...
checking for libcrypto... yes
checking for main in -lcrypto... yes
checking for EC functions in libcrypto... no
configure: error: OpenSSL tests requested but OpenSSL with EC support is not available

config.log

configure:14672: checking for EC functions in libcrypto
configure:14696: gcc -c -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g  conftest.c >&5
conftest.c:36:14: fatal error: 'openssl/ec.h' file not found
    #include <openssl/ec.h>
             ^~~~~~~~~~~~~~
1 error generated.

I can PR a fix shortly if no-one beats me to it.

@sipa
Copy link
Contributor

sipa commented Apr 9, 2020

Well do you have that file?

@fanquake
Copy link
Member Author

fanquake commented Apr 9, 2020

Well do you have that file?

Yes, but it needs to come from the brew installed OpenSSL. Which isn't being used during this check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants