-
Notifications
You must be signed in to change notification settings - Fork 524
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
compile error when openssl@3 is installed in the system #11467
Comments
The reason why it breaks is quite clear. What confused me most is that IIRC previously when |
I think it's a not big problem, as OpenSSL 1.1 will reach EOL this September. 😅 We can wait for sfackler/rust-openssl#1925 and problems should be less likely to occur. |
Alternatively, what about use system openssl directly, since brew made it available by default? 😅 |
BTW, to create portable binary (static link OpenSSL), we don't have to use |
openssl-src uses openssl 3 now, so I believe this issue will be less likely to occur. |
SSL_get_peer_certificate
is deprecated in OpenSSL@3, and defined asApparently, although we use
openssl/vendored
(which is OpenSSL@1 now), the C++ liblibrdkafka
(built by cmake) somehow found OpenSSL@3 installed in the system. When we link the final binary, the problem occurs.possible reasons:
The solution is quite easy:
unset OPENSSL_ROOT_DIR
and/orbrew unlink openssl
The text was updated successfully, but these errors were encountered: