build: OpenSSL EC detection fails on macOS #734

issue fanquake openend this issue on April 9, 2020
  1. fanquake commented at 8:04 am on April 9, 2020: member
    0./configure --enable-openssl-tests
    1...
    2checking for libcrypto... yes
    3checking for main in -lcrypto... yes
    4checking for EC functions in libcrypto... no
    5configure: error: OpenSSL tests requested but OpenSSL with EC support is not available
    

    config.log

    0configure:14672: checking for EC functions in libcrypto
    1configure: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
    2conftest.c:36:14: fatal error: 'openssl/ec.h' file not found
    3    #include <openssl/ec.h>
    4             ^~~~~~~~~~~~~~
    51 error generated.
    

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

  2. sipa commented at 8:05 am on April 9, 2020: contributor
    Well do you have that file?
  3. fanquake commented at 8:09 am on April 9, 2020: member

    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.

  4. fanquake cross-referenced this on Apr 9, 2020 from issue build: fix OpenSSL EC detection on macOS by fanquake
  5. elichai cross-referenced this on Apr 12, 2020 from issue Replace OpenSSL in cross-testing with micro-ecc(uECC) by elichai
  6. jonasnick closed this on Apr 13, 2020


fanquake sipa


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-23 02:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me