Cannot install 3.1.2 on macOS 12.4 #1990
Unanswered
leoplct
asked this question in
Build failures
Replies: 1 comment
-
This is old openssl 1.1.1n. New openssl 1.1.1q fails with: Downloading openssl-1.1.1q.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca
Installing openssl-1.1.1q...
BUILD FAILED (macOS 12.4 using ruby-build 20220630-4-gda94a64)
Inspect or clean up the working tree at /var/folders/m9/3qp2qfg97mxcr60lpfctbr680000gn/T/ruby-build.20220707143402.48334.jh2smj
Results logged to /var/folders/m9/3qp2qfg97mxcr60lpfctbr680000gn/T/ruby-build.20220707143402.48334.log
Last 10 log lines:
clang -Iinclude -arch arm64 -O3 -Wall -D_REENTRANT -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/biow0lf/.rbenv/versions/3.1.2/include -I/opt/homebrew/opt/[email protected]/include -MMD -MF test/wpackettest.d.tmp -MT test/wpackettest.o -c -o test/wpackettest.o test/wpackettest.c
clang -Iinclude -arch arm64 -O3 -Wall -D_REENTRANT -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/biow0lf/.rbenv/versions/3.1.2/include -I/opt/homebrew/opt/[email protected]/include -MMD -MF test/x509_check_cert_pkey_test.d.tmp -MT test/x509_check_cert_pkey_test.o -c -o test/x509_check_cert_pkey_test.o test/x509_check_cert_pkey_test.c
test/v3ext.c:201:24: error: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0))
^
test/v3ext.c:201:24: note: include the header <string.h> or explicitly provide a declaration for 'memcmp'
1 error generated.
make[1]: *** [test/v3ext.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2 I fix this with brew:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I got this error when installing 3.1.2
MacBook Pro (13-inch, M1, 2020)
Chip: Apple M1
MacOS 12.4 (21F79)
rbenv
install 3.1.2Beta Was this translation helpful? Give feedback.
All reactions