Closed huitema closed 8 months ago
Checking the version:
christianhuitema@Christians-iMac picotls % openssl version
LibreSSL 3.3.6
@kazuho This is still happening with MacOS Ventura 13.4. Is there a workaround?
Investigating. I added a logging message to the CMakeList, and got:
CMake Warning at CMakeLists.txt:177 (MESSAGE):
Disabling OpenSSL support (requires 1.0.1 or newer)
CMake Warning at CMakeLists.txt:178 (MESSAGE):
OpenSSL DIR: /opt/homebrew/Cellar/openssl@3/3.1.1_1/include
I had installed openssl using brew
, and the version is:
% openssl version
OpenSSL 3.2.0 23 Nov 2023 (Library: OpenSSL 3.2.0 23 Nov 2023)
... but the OPENSSL_VERSION variable is not set.
The "brew" install was part of an upgrade of the python code. Python 3.10 requires openssl 3.0...
Notice the weirdness: OpenSSL version is 3.2.0_1, but the OpenSSL DIR variable points to a non existent folder, 3.1.1_1.
Fixed by removing CMakeCache.txt. It included the phantom of an old openssl version, which caused make to fail.
Getting the following error during CMake: