Reputation: 1
I'm trying to compile MySQL Community Server 5.7.17 from source with OpenSSL. Based on my research this is the only way to use OpenSSL with MySQL unless you purchase the Enterprise Edition otherwise they use yaSSL instead of OpenSSL. (See first few lines here: https://dev.mysql.com/doc/refman/5.7/en/openssl-versus-yassl.html)
What I've done: Downloaded the MySQL source for Windows, download/install OpenSSL for Windows, ran cmake gui against the source and specified WITH_SSL=C:/OpenSSL-Win64/bin
which is the path to OpenSSL on my build.
Here is a picture of my CMAKE GUI Error:
For some reason it's not identifying OpenSSL on my build I've been messing around for hours trying to get it to work and have gotten a bit further as this is the only error I have left. Any guidance is appreciated.
Notes on my specific build:
UPDATE: 03/23/2017 Downloaded full version of OpenSSL (was using light) and changed path To C:/OpenSSL-Win64/ , it now identifies OpenSSL on the system but still can not find the openssl and crypto libraries. There is a lib directoy under OpenSS-Win64 that seems to have openssl.lib and libcrypto.lib but not sure why the system isn't identifying them.
Upvotes: 0
Views: 1364
Reputation: 429
Per the MySQL source, it looks for
<value of WITH_SSL>/include/openssl/ssl.h
So, you probably need to set WITH_SSL to
C:/OpenSSL-Win64/
Upvotes: 1