Closed
Description
Hi!
I tried to install openssl to use shopify_api gem.
But, error occured and it wasn't installed. Detail of error is following.
$ bundle install
...
Installing openssl 3.0.0 with native extensions
compiling ossl_ts.c
In file included from ossl_ts.c:10:
In file included from ./ossl.h:171:
./openssl_missing.h:195:11: warning: 'TS_VERIFY_CTS_set_certs' macro redefined [-Wmacro-redefined]
# define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
^
/opt/homebrew/Cellar/openssl@3/3.0.5/include/openssl/ts.h:424:11: note: previous definition is here
# define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
^
ossl_ts.c:829:5: error: incomplete definition of type 'struct TS_verify_ctx'
TS_VERIFY_CTX_set_certs(ctx, x509inter);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./openssl_missing.h:215:46: note: expanded from macro 'TS_VERIFY_CTX_set_certs'
# define TS_VERIFY_CTX_set_certs(ctx, crts) TS_VERIFY_CTS_set_certs(ctx, crts)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./openssl_missing.h:195:52: note: expanded from macro 'TS_VERIFY_CTS_set_certs'
# define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
~~~~~^
/opt/homebrew/Cellar/openssl@3/3.0.5/include/openssl/ts.h:405:16: note: forward declaration of 'struct TS_verify_ctx'
typedef struct TS_verify_ctx TS_VERIFY_CTX;
^
1 warning and 1 error generated.
make: *** [ossl_ts.o] Error 1
I installed openssl@3 in my computer from homebrew.
$ brew list | grep openssl
openssl@1.1
openssl@3
ruby version:
$ ruby -v
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin21]
Would you please tell me how I can install it?
Thank you for your help!
Metadata
Metadata
Assignees
Labels
No labels