Bug #91223 add cmake support for openssl 1.1 on windows

Submitted: 12 Jun 2018 11:25 Modified: 13 Jun 2018 14:25
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.13 OS:Any
Assigned to: CPU Architecture:Any

[12 Jun 2018 11:25] Tor Didriksen
Description:
For OpenSSL 1.1 the libraries have changed names on windows:
ssleay32.dll -> libssl-1_1-x64.dll    or libssl-1_1.dll 
libeay32.dll -> libcrypto-1_1-x64.dll or libcrypto-1_1.dll 

Change cmake code to look for both old and new names.

Also add support for building 32bit client binaries (cmake -DWITHOUT_SERVER=1)

How to repeat:
Download 
https://slproweb.com/download/Win32OpenSSL-1_1_0h.exe
https://slproweb.com/download/Win64OpenSSL-1_1_0h.exe

Build against these new "system" SSL libraries.

Suggested fix:
See suggested patch.
[13 Jun 2018 14:25] Paul DuBois
Posted by developer:
 
Fixed in 8.0.13.

For OpenSSL 1.1, the library names have changed for Windows. The
CMake configuration code now accounts for this. Also, it is now
possible on Windows to use -DWITHOUT_SERVER=1 to build 32-bit client
binaries.
[21 Jun 2018 12:51] Paul DuBois
Posted by developer:
 
Correction: Fixed in 8.0.12 (not 8.0.13).
[25 Oct 2018 9:53] Erlend Dahl
Bug#91672 MySQL8.0 fails to compile on Windows with OpenSSL 1.1.0.

was marked as a duplicate.
[25 Oct 2021 14:04] Stefan Hinz
Posted by developer:
 
Fixed in 8.0.28.
Library upgrade, no changelog entry required.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.