cmake error regarding openssl
Posted by:
David List
Date: March 23, 2025 08:28AM
When running cmake on mysql source, it fails with the last few lines saying this:
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
--
Could not find system OpenSSL
Make sure you have specified a supported SSL version.
Valid options are :
openssl[0-9]+ (use alternative system library)
yes (synonym for system)
</path/to/custom/openssl/installation>
I have tried every option for -DWITH_SSL=[option] I can think of, and am at my wits end. I hope someone here can suggest a solution.
I am trying to install mysql-8.4.4.
"openssl version" gives me "OpenSSL 3.4.1 11 Feb 2025 (Library: OpenSSL 3.4.1 11 Feb 2025)"
"cmake --version" gives me "cmake version 4.0.0-rc4"
Subject
Written By
Posted
cmake error regarding openssl
March 23, 2025 08:28AM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.