Skip to content
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

[qt5-base] build failure with mysqlplugin for x64-windows-static #20817

Closed
silverqx opened this issue Oct 18, 2021 · 18 comments · Fixed by #24462
Closed

[qt5-base] build failure with mysqlplugin for x64-windows-static #20817

silverqx opened this issue Oct 18, 2021 · 18 comments · Fixed by #24462
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@silverqx
Copy link
Contributor

Host Environment

  • OS: Windows 21H1 19043.1288 latest stable
  • Compiler: MSVC 16.11.5 latest stable

To Reproduce
Steps to reproduce the behavior:
./vcpkg install qt5-base[mysqlplugin]:x64-windows-static

Failure logs
config-x64-windows-static-dbg-err.log
stdout-x64-windows-static.log

It fails during -- Configuring x64-windows-static-dbg with following error in qt5-base\config-x64-windows-static-dbg-err.log:

ERROR: Feature 'sql-mysql' was enabled, but the pre-condition 'libs.mysql' failed.

Can anybody try to install it whether it works? Need to confirm if the problem is on my side or vcpkg, thank you.

@silverqx silverqx changed the title [qt5-base] build failure for x64-windows-static [qt5-base] build failure with [mysqlplugin] for x64-windows-static Oct 18, 2021
@silverqx silverqx changed the title [qt5-base] build failure with [mysqlplugin] for x64-windows-static [qt5-base] build failure with mysqlplugin for x64-windows-static Oct 18, 2021
@silverqx
Copy link
Contributor Author

qt5-base[postgresqlplugin]:x64-windows triplet works good and also qt5-base[postgresqlplugin]:x64-windows-static builds without problem.

@JackBoosY
Copy link
Contributor

Duplicated to #19093.

@JackBoosY JackBoosY added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Oct 19, 2021
@dg0yt
Copy link
Contributor

dg0yt commented Oct 19, 2021

@JackBoosY No, this is not a duplicate.

@JackBoosY JackBoosY reopened this Oct 19, 2021
@JackBoosY
Copy link
Contributor

Ah yes, this not.

@JackBoosY
Copy link
Contributor

cc @Neumann-A

@silverqx
Copy link
Contributor Author

silverqx commented Oct 19, 2021

This is a little different, the #19093 solves [mysqlplugin] feature is not available by vcpkg during install, this problem is about that qt5-base is not possible to build when [mysqlplugin] feature is enabled.

I need to somebody try to invoke vcpkg install qt5-base[mysqlplugin] and confirm this bug, thx.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support and removed category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist labels Oct 19, 2021
@Neumann-A
Copy link
Contributor

@JackBoosY I didn't introduce the mysql feature. This was introduced by #15170. From the logs it looks like MYSQL_LIBS needs to contain similar libraries as PSQL_LIBS

@JackBoosY
Copy link
Contributor

@jepessen Can you please take a look?

@JonLiu1993
Copy link
Member

@jepessen ,Could you please help take a look? The mysql feature was introduced by #15170

@davidebeatrici
Copy link
Contributor

looking for library mysql
Trying source 0 (type mysqlConfig) of library mysql ...
mysql_config not found.
  => source produced no result.
Trying source 1 (type mysqlConfig) of library mysql ...
mysql_config not found.
  => source produced no result.
Trying source 2 (type mysqlConfig) of library mysql ...
mysql_config not found.
  => source produced no result.
Trying source 3 (type mysqlConfig) of library mysql ...
mysql_config not found.
  => source produced no result.
Trying source 4 (type inline) of library mysql ...
  => source failed condition '!config.win32'.
Trying source 5 (type inline) of library mysql ...
+ cd /d C:\vcpkg\buildtrees\qt5-base\x64-windows-static-md-dbg\config.tests\mysql && C:\vcpkg\buildtrees\qt5-base\x64-windows-static-md-dbg\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += static warn_off console single_arch" "QMAKE_LIBDIR += C:/vcpkg/installed/x64-windows-static-md/debug/lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/manual-link" "INCLUDEPATH += C:/vcpkg/installed/x64-windows-static-md/include C:/vcpkg/installed/x64-windows-static-md/include/qt5" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/bz2d.lib" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/libpng16d.lib" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/icuind.lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/icutud.lib  C:/vcpkg/installed/x64-windows-static-md/debug/lib/icuucd.lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/icuiod.lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/icudtd.lib Advapi32.lib" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/zstd.lib" "QMAKE_USE += mysql" "QMAKE_LIBS_MYSQL = C:/vcpkg/installed/x64-windows-static-md/debug/lib/mysqlclient.lib" C:/vcpkg/buildtrees/qt5-base/x64-windows-static-md-dbg/config.tests/mysql
+ cd /d C:\vcpkg\buildtrees\qt5-base\x64-windows-static-md-dbg\config.tests\mysql && set MAKEFLAGS=& nmake
> Microsoft (R) Program Maintenance Utility Version 14.31.31107.0
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -Zi -MDd -W0 -EHsc /Fdmysql.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -I. -IC:\vcpkg\installed\x64-windows-static-md\include -IC:/vcpkg/installed/x64-windows-static-md/include/qt5 -IC:\vcpkg\buildtrees\qt5-base\src\5.15.3-2b7235b680.clean\mkspecs\win32-msvc -Fo @C:\Users\User\AppData\Local\Temp\nm7544.tmp
> main.cpp
> 	link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:mysql.exe @C:\Users\User\AppData\Local\Temp\nm76EB.tmp
> mysqlclient.lib(libmysql.cc.obj) : error LNK2019: unresolved external symbol __imp_MessageBoxA referenced in function mysql_debug
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol ERR_error_string_n referenced in function "int __cdecl cli_establish_ssl(struct MYSQL *)" (?cli_establish_ssl@@YAHPEAUMYSQL@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2001: unresolved external symbol ERR_error_string_n
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol X509_check_host referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol X509_check_ip_asc referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol X509_free referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol X509_free
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_get_current_cipher referenced in function mysql_get_ssl_cipher
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_get_current_cipher
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_CIPHER_get_name referenced in function mysql_get_ssl_cipher
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_CIPHER_get_name
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_get1_peer_certificate referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_get1_peer_certificate
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_get_verify_result referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_init_crypto referenced in function "void __cdecl ssl_start(void)" (?ssl_start@@YAXXZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol BN_bin2bn referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol EVP_default_properties_is_fips_enabled referenced in function "int __cdecl set_fips_mode(unsigned int,char *)" (?set_fips_mode@@YAHIPEAD@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol EVP_default_properties_enable_fips referenced in function "int __cdecl set_fips_mode(unsigned int,char *)" (?set_fips_mode@@YAHIPEAD@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_get_error referenced in function "int __cdecl set_fips_mode(unsigned int,char *)" (?set_fips_mode@@YAHIPEAD@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol ERR_get_error
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_get_error_line_data referenced in function "void __cdecl report_errors(void)" (?report_errors@@YAXXZ)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol ERR_get_error_line_data
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_error_string referenced in function "void __cdecl report_errors(void)" (?report_errors@@YAXXZ)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol ERR_error_string
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_print_errors_fp referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol DH_new referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol DH_free referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol DH_set0_pqg referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol X509_STORE_set_flags referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol X509_STORE_load_locations referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_options referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_cipher_list referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_new referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_free referenced in function "void __cdecl free_vio_ssl_acceptor_fd(struct st_VioSSLFd *)" (?free_vio_ssl_acceptor_fd@@YAXPEAUst_VioSSLFd@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_get_cert_store referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_use_PrivateKey_file referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_use_certificate_file referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_verify referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLConnectorFd(char const *,char const *,char const *,char const *,char const *,char const *,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLConnectorFd@@YAPEAUst_VioSSLFd@@PEBD00000PEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_check_private_key referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_session_id_context referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLAcceptorFd(char const *,char const *,char const *,char const *,char const *,char const *,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLAcceptorFd@@YAPEAUst_VioSSLFd@@PEBD00000PEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_ctrl referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLAcceptorFd(char const *,char const *,char const *,char const *,char const *,char const *,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLAcceptorFd@@YAPEAUst_VioSSLFd@@PEBD00000PEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol TLS_server_method referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol TLS_client_method referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_default_verify_paths referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_load_verify_locations referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_init_ssl referenced in function "void __cdecl ssl_start(void)" (?ssl_start@@YAXXZ)
> mysqlclient.lib(my_compress.cc.obj) : error LNK2019: unresolved external symbol compress2 referenced in function "unsigned char * __cdecl zlib_compress_alloc(struct mysql_zlib_compress_context *,unsigned char const *,unsigned __int64 *,unsigned __int64 *)" (?zlib_compress_alloc@@YAPEAEPEAUmysql_zlib_compress_context@@PEBEPEA_K2@Z)
> mysqlclient.lib(my_compress.cc.obj) : error LNK2019: unresolved external symbol uncompress referenced in function "bool __cdecl zlib_uncompress(unsigned char *,unsigned __int64,unsigned __int64 *)" (?zlib_uncompress@@YA_NPEAE_KPEA_K@Z)
> mysqlclient.lib(viosocket.cc.obj) : error LNK2019: unresolved external symbol SSL_pending referenced in function "bool __cdecl vio_is_connected(struct Vio *)" (?vio_is_connected@@YA_NPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_pending
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol BIO_free referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol BIO_new_mem_buf referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol ERR_clear_error referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2001: unresolved external symbol ERR_clear_error
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol RSA_size referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol RSA_public_encrypt referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol RSA_free referenced in function mysql_reset_server_public_key
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol PEM_read_bio_RSA_PUBKEY referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol PEM_read_RSA_PUBKEY referenced in function "struct rsa_st * __cdecl rsa_init(struct MYSQL *)" (?rsa_init@@YAPEAUrsa_st@@PEAUMYSQL@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_sk_num referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_sk_value referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol ERR_peek_error referenced in function "unsigned __int64 __cdecl vio_ssl_read(struct Vio *,unsigned char *,unsigned __int64)" (?vio_ssl_read@@YA_KPEAUVio@@PEAE_K@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol X509_NAME_oneline referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol X509_get_issuer_name referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol X509_get_subject_name referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_set_options referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_clear referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_fd referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_shared_ciphers referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_set_fd referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_SESSION_set_timeout referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_new referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_free referenced in function "void __cdecl vio_ssl_delete(struct Vio *)" (?vio_ssl_delete@@YAXPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_accept referenced in function "int __cdecl sslaccept(struct st_VioSSLFd *,struct Vio *,long,unsigned long *)" (?sslaccept@@YAHPEAUst_VioSSLFd@@PEAUVio@@JPEAK@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_connect referenced in function "int __cdecl sslconnect(struct st_VioSSLFd *,struct Vio *,long,unsigned long *,struct ssl_st * *)" (?sslconnect@@YAHPEAUst_VioSSLFd@@PEAUVio@@JPEAKPEAPEAUssl_st@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_read referenced in function "unsigned __int64 __cdecl vio_ssl_read(struct Vio *,unsigned char *,unsigned __int64)" (?vio_ssl_read@@YA_KPEAUVio@@PEAE_K@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_write referenced in function "unsigned __int64 __cdecl vio_ssl_write(struct Vio *,unsigned char const *,unsigned __int64)" (?vio_ssl_write@@YA_KPEAUVio@@PEBE_K@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_error referenced in function "int __cdecl vio_ssl_shutdown(struct Vio *)" (?vio_ssl_shutdown@@YAHPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_shutdown referenced in function "int __cdecl vio_ssl_shutdown(struct Vio *)" (?vio_ssl_shutdown@@YAHPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_set_quiet_shutdown referenced in function "int __cdecl vio_ssl_shutdown(struct Vio *)" (?vio_ssl_shutdown@@YAHPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_session referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_COMP_get0_name referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_COMP_get_id referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_COMP_get_compression_methods referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_MD_CTX_new referenced in function "void __cdecl DIGESTCreate(struct evp_md_ctx_st * *)" (?DIGESTCreate@@YAXPEAPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_new
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_new
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_MD_CTX_free referenced in function "void __cdecl DIGESTDestroy(struct evp_md_ctx_st * *)" (?DIGESTDestroy@@YAXPEAPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_free
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_free
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_DigestInit_ex referenced in function "void __cdecl DIGESTInit(struct evp_md_ctx_st *)" (?DIGESTInit@@YAXPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestInit_ex
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestInit_ex
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_DigestUpdate referenced in function "void __cdecl DIGESTUpdate(struct evp_md_ctx_st *,void const *,int)" (?DIGESTUpdate@@YAXPEAUevp_md_ctx_st@@PEBXH@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestUpdate
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestUpdate
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_DigestFinal_ex referenced in function "void __cdecl DIGESTFinal(void *,struct evp_md_ctx_st *)" (?DIGESTFinal@@YAXPEAXPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestFinal_ex
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestFinal_ex
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_sha256 referenced in function "void __cdecl DIGESTInit(struct evp_md_ctx_st *)" (?DIGESTInit@@YAXPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_sha256
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol RAND_bytes referenced in function "void __cdecl generate_user_salt(char *,int)" (?generate_user_salt@@YAXPEADH@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2019: unresolved external symbol EVP_MD_CTX_reset referenced in function "public: virtual bool __cdecl sha2_password::SHA256_digest::retrieve_digest(unsigned char *,unsigned int)" (?retrieve_digest@SHA256_digest@sha2_password@@UEAA_NPEAEI@Z)
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2019: unresolved external symbol EVP_sha1 referenced in function "void __cdecl compute_sha1_hash(unsigned char *,char const *,unsigned __int64)" (?compute_sha1_hash@@YAXPEAEPEBD_K@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol BIO_new_bio_pair referenced in function "int __cdecl dummy_function_needed_by_xplugin(void)" (?dummy_function_needed_by_xplugin@@YAHXZ)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_get_block_size referenced in function "int __cdecl my_aes_get_size(unsigned int,enum my_aes_opmode)" (?my_aes_get_size@@YAHIW4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_get_iv_length referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_EncryptInit referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_EncryptUpdate referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_EncryptFinal referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_DecryptInit referenced in function "int __cdecl my_aes_decrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_decrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_DecryptUpdate referenced in function "int __cdecl my_aes_decrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_decrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_DecryptFinal_ex referenced in function "int __cdecl my_aes_decrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_decrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_new referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_free referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_set_padding referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_ecb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cbc referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cfb1 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cfb8 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cfb128 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_ofb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_ecb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cbc referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cfb1 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cfb8 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cfb128 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_ofb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_ecb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cbc referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cfb1 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cfb8 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cfb128 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_ofb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysql.exe : fatal error LNK1120: 113 unresolved externals
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\link.EXE"' : return code '0x460'
> Stop.
 => source failed verification.
Trying source 6 (type inline) of library mysql ...
+ cd /d C:\vcpkg\buildtrees\qt5-base\x64-windows-static-md-dbg\config.tests\mysql && C:\vcpkg\buildtrees\qt5-base\x64-windows-static-md-dbg\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += static warn_off console single_arch" "QMAKE_LIBDIR += C:/vcpkg/installed/x64-windows-static-md/debug/lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/manual-link" "INCLUDEPATH += C:/vcpkg/installed/x64-windows-static-md/include C:/vcpkg/installed/x64-windows-static-md/include/qt5" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/bz2d.lib" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/libpng16d.lib" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/icuind.lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/icutud.lib  C:/vcpkg/installed/x64-windows-static-md/debug/lib/icuucd.lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/icuiod.lib C:/vcpkg/installed/x64-windows-static-md/debug/lib/icudtd.lib Advapi32.lib" "QMAKE_LIBS_PRIVATE+=C:/vcpkg/installed/x64-windows-static-md/debug/lib/zstd.lib" "QMAKE_USE += mysql" "QMAKE_LIBS_MYSQL = C:/vcpkg/installed/x64-windows-static-md/debug/lib/mysqlclient.lib" C:/vcpkg/buildtrees/qt5-base/x64-windows-static-md-dbg/config.tests/mysql
+ cd /d C:\vcpkg\buildtrees\qt5-base\x64-windows-static-md-dbg\config.tests\mysql && set MAKEFLAGS=& nmake clean && set MAKEFLAGS=& nmake
> Microsoft (R) Program Maintenance Utility Version 14.31.31107.0
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 	del main.obj
> 	del mysql.vc.pdb mysql.ilk mysql.idb
> Microsoft (R) Program Maintenance Utility Version 14.31.31107.0
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -Zi -MDd -W0 -EHsc /Fdmysql.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -I. -IC:\vcpkg\installed\x64-windows-static-md\include -IC:/vcpkg/installed/x64-windows-static-md/include/qt5 -IC:\vcpkg\buildtrees\qt5-base\src\5.15.3-2b7235b680.clean\mkspecs\win32-msvc -Fo @C:\Users\User\AppData\Local\Temp\nm7CB6.tmp
> main.cpp
> 	link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:mysql.exe @C:\Users\User\AppData\Local\Temp\nm7E6C.tmp
> mysqlclient.lib(libmysql.cc.obj) : error LNK2019: unresolved external symbol __imp_MessageBoxA referenced in function mysql_debug
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol ERR_error_string_n referenced in function "int __cdecl cli_establish_ssl(struct MYSQL *)" (?cli_establish_ssl@@YAHPEAUMYSQL@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2001: unresolved external symbol ERR_error_string_n
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol X509_check_host referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol X509_check_ip_asc referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol X509_free referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol X509_free
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_get_current_cipher referenced in function mysql_get_ssl_cipher
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_get_current_cipher
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_CIPHER_get_name referenced in function mysql_get_ssl_cipher
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_CIPHER_get_name
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_get1_peer_certificate referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_get1_peer_certificate
> mysqlclient.lib(client.cc.obj) : error LNK2019: unresolved external symbol SSL_get_verify_result referenced in function "int __cdecl ssl_verify_server_cert(struct Vio *,char const *,char const * *)" (?ssl_verify_server_cert@@YAHPEAUVio@@PEBDPEAPEBD@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_init_crypto referenced in function "void __cdecl ssl_start(void)" (?ssl_start@@YAXXZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol BN_bin2bn referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol EVP_default_properties_is_fips_enabled referenced in function "int __cdecl set_fips_mode(unsigned int,char *)" (?set_fips_mode@@YAHIPEAD@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol EVP_default_properties_enable_fips referenced in function "int __cdecl set_fips_mode(unsigned int,char *)" (?set_fips_mode@@YAHIPEAD@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_get_error referenced in function "int __cdecl set_fips_mode(unsigned int,char *)" (?set_fips_mode@@YAHIPEAD@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol ERR_get_error
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_get_error_line_data referenced in function "void __cdecl report_errors(void)" (?report_errors@@YAXXZ)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol ERR_get_error_line_data
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_error_string referenced in function "void __cdecl report_errors(void)" (?report_errors@@YAXXZ)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol ERR_error_string
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol ERR_print_errors_fp referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol DH_new referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol DH_free referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol DH_set0_pqg referenced in function "struct dh_st * __cdecl get_dh2048(void)" (?get_dh2048@@YAPEAUdh_st@@XZ)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol X509_STORE_set_flags referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol X509_STORE_load_locations referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_options referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_cipher_list referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_new referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_free referenced in function "void __cdecl free_vio_ssl_acceptor_fd(struct st_VioSSLFd *)" (?free_vio_ssl_acceptor_fd@@YAXPEAUst_VioSSLFd@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_get_cert_store referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_use_PrivateKey_file referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_use_certificate_file referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_verify referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLConnectorFd(char const *,char const *,char const *,char const *,char const *,char const *,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLConnectorFd@@YAPEAUst_VioSSLFd@@PEBD00000PEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_check_private_key referenced in function "int __cdecl vio_set_cert_stuff(struct ssl_ctx_st *,char const *,char const *,enum enum_ssl_init_error *)" (?vio_set_cert_stuff@@YAHPEAUssl_ctx_st@@PEBD1PEAW4enum_ssl_init_error@@@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_session_id_context referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLAcceptorFd(char const *,char const *,char const *,char const *,char const *,char const *,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLAcceptorFd@@YAPEAUst_VioSSLFd@@PEBD00000PEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_ctrl referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLAcceptorFd(char const *,char const *,char const *,char const *,char const *,char const *,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLAcceptorFd@@YAPEAUst_VioSSLFd@@PEBD00000PEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol TLS_server_method referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol TLS_client_method referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_set_default_verify_paths referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol SSL_CTX_load_verify_locations referenced in function "struct st_VioSSLFd * __cdecl new_VioSSLFd(char const *,char const *,char const *,char const *,char const *,char const *,bool,enum enum_ssl_init_error *,char const *,char const *,long)" (?new_VioSSLFd@@YAPEAUst_VioSSLFd@@PEBD00000_NPEAW4enum_ssl_init_error@@00J@Z)
> mysqlclient.lib(viosslfactories.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_init_ssl referenced in function "void __cdecl ssl_start(void)" (?ssl_start@@YAXXZ)
> mysqlclient.lib(my_compress.cc.obj) : error LNK2019: unresolved external symbol compress2 referenced in function "unsigned char * __cdecl zlib_compress_alloc(struct mysql_zlib_compress_context *,unsigned char const *,unsigned __int64 *,unsigned __int64 *)" (?zlib_compress_alloc@@YAPEAEPEAUmysql_zlib_compress_context@@PEBEPEA_K2@Z)
> mysqlclient.lib(my_compress.cc.obj) : error LNK2019: unresolved external symbol uncompress referenced in function "bool __cdecl zlib_uncompress(unsigned char *,unsigned __int64,unsigned __int64 *)" (?zlib_uncompress@@YA_NPEAE_KPEA_K@Z)
> mysqlclient.lib(viosocket.cc.obj) : error LNK2019: unresolved external symbol SSL_pending referenced in function "bool __cdecl vio_is_connected(struct Vio *)" (?vio_is_connected@@YA_NPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2001: unresolved external symbol SSL_pending
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol BIO_free referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol BIO_new_mem_buf referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol ERR_clear_error referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2001: unresolved external symbol ERR_clear_error
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol RSA_size referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol RSA_public_encrypt referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol RSA_free referenced in function mysql_reset_server_public_key
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol PEM_read_bio_RSA_PUBKEY referenced in function "int __cdecl sha256_password_auth_client(struct MYSQL_PLUGIN_VIO *,struct MYSQL *)" (?sha256_password_auth_client@@YAHPEAUMYSQL_PLUGIN_VIO@@PEAUMYSQL@@@Z)
> mysqlclient.lib(client_authentication.cc.obj) : error LNK2019: unresolved external symbol PEM_read_RSA_PUBKEY referenced in function "struct rsa_st * __cdecl rsa_init(struct MYSQL *)" (?rsa_init@@YAPEAUrsa_st@@PEAUMYSQL@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_sk_num referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol OPENSSL_sk_value referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol ERR_peek_error referenced in function "unsigned __int64 __cdecl vio_ssl_read(struct Vio *,unsigned char *,unsigned __int64)" (?vio_ssl_read@@YA_KPEAUVio@@PEAE_K@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol X509_NAME_oneline referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol X509_get_issuer_name referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol X509_get_subject_name referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_set_options referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_clear referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_fd referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_shared_ciphers referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_set_fd referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_SESSION_set_timeout referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_new referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_free referenced in function "void __cdecl vio_ssl_delete(struct Vio *)" (?vio_ssl_delete@@YAXPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_accept referenced in function "int __cdecl sslaccept(struct st_VioSSLFd *,struct Vio *,long,unsigned long *)" (?sslaccept@@YAHPEAUst_VioSSLFd@@PEAUVio@@JPEAK@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_connect referenced in function "int __cdecl sslconnect(struct st_VioSSLFd *,struct Vio *,long,unsigned long *,struct ssl_st * *)" (?sslconnect@@YAHPEAUst_VioSSLFd@@PEAUVio@@JPEAKPEAPEAUssl_st@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_read referenced in function "unsigned __int64 __cdecl vio_ssl_read(struct Vio *,unsigned char *,unsigned __int64)" (?vio_ssl_read@@YA_KPEAUVio@@PEAE_K@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_write referenced in function "unsigned __int64 __cdecl vio_ssl_write(struct Vio *,unsigned char const *,unsigned __int64)" (?vio_ssl_write@@YA_KPEAUVio@@PEBE_K@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_error referenced in function "int __cdecl vio_ssl_shutdown(struct Vio *)" (?vio_ssl_shutdown@@YAHPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_shutdown referenced in function "int __cdecl vio_ssl_shutdown(struct Vio *)" (?vio_ssl_shutdown@@YAHPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_set_quiet_shutdown referenced in function "int __cdecl vio_ssl_shutdown(struct Vio *)" (?vio_ssl_shutdown@@YAHPEAUVio@@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_get_session referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_COMP_get0_name referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_COMP_get_id referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(viossl.cc.obj) : error LNK2019: unresolved external symbol SSL_COMP_get_compression_methods referenced in function "int __cdecl ssl_do(struct st_VioSSLFd *,struct Vio *,long,int (__cdecl*)(struct ssl_st *),unsigned long *,struct ssl_st * *)" (?ssl_do@@YAHPEAUst_VioSSLFd@@PEAUVio@@JP6AHPEAUssl_st@@@ZPEAKPEAPEAU3@@Z)
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_MD_CTX_new referenced in function "void __cdecl DIGESTCreate(struct evp_md_ctx_st * *)" (?DIGESTCreate@@YAXPEAPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_new
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_new
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_MD_CTX_free referenced in function "void __cdecl DIGESTDestroy(struct evp_md_ctx_st * *)" (?DIGESTDestroy@@YAXPEAPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_free
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_MD_CTX_free
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_DigestInit_ex referenced in function "void __cdecl DIGESTInit(struct evp_md_ctx_st *)" (?DIGESTInit@@YAXPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestInit_ex
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestInit_ex
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_DigestUpdate referenced in function "void __cdecl DIGESTUpdate(struct evp_md_ctx_st *,void const *,int)" (?DIGESTUpdate@@YAXPEAUevp_md_ctx_st@@PEBXH@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestUpdate
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestUpdate
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_DigestFinal_ex referenced in function "void __cdecl DIGESTFinal(void *,struct evp_md_ctx_st *)" (?DIGESTFinal@@YAXPEAXPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestFinal_ex
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2001: unresolved external symbol EVP_DigestFinal_ex
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol EVP_sha256 referenced in function "void __cdecl DIGESTInit(struct evp_md_ctx_st *)" (?DIGESTInit@@YAXPEAUevp_md_ctx_st@@@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2001: unresolved external symbol EVP_sha256
> mysqlclient.lib(crypt_genhash_impl.cc.obj) : error LNK2019: unresolved external symbol RAND_bytes referenced in function "void __cdecl generate_user_salt(char *,int)" (?generate_user_salt@@YAXPEADH@Z)
> mysqlclient.lib(sha2_password_common.cc.obj) : error LNK2019: unresolved external symbol EVP_MD_CTX_reset referenced in function "public: virtual bool __cdecl sha2_password::SHA256_digest::retrieve_digest(unsigned char *,unsigned int)" (?retrieve_digest@SHA256_digest@sha2_password@@UEAA_NPEAEI@Z)
> mysqlclient.lib(my_sha1.cc.obj) : error LNK2019: unresolved external symbol EVP_sha1 referenced in function "void __cdecl compute_sha1_hash(unsigned char *,char const *,unsigned __int64)" (?compute_sha1_hash@@YAXPEAEPEBD_K@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol BIO_new_bio_pair referenced in function "int __cdecl dummy_function_needed_by_xplugin(void)" (?dummy_function_needed_by_xplugin@@YAHXZ)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_get_block_size referenced in function "int __cdecl my_aes_get_size(unsigned int,enum my_aes_opmode)" (?my_aes_get_size@@YAHIW4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_get_iv_length referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_EncryptInit referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_EncryptUpdate referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_EncryptFinal referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_DecryptInit referenced in function "int __cdecl my_aes_decrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_decrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_DecryptUpdate referenced in function "int __cdecl my_aes_decrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_decrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_DecryptFinal_ex referenced in function "int __cdecl my_aes_decrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_decrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_new referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_free referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_set_padding referenced in function "int __cdecl my_aes_encrypt(unsigned char const *,unsigned int,unsigned char *,unsigned char const *,unsigned int,enum my_aes_opmode,unsigned char const *,bool)" (?my_aes_encrypt@@YAHPEBEIPEAE0IW4my_aes_opmode@@0_N@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_ecb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cbc referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cfb1 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cfb8 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_cfb128 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_128_ofb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_ecb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cbc referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cfb1 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cfb8 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_cfb128 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_192_ofb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_ecb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cbc referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cfb1 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cfb8 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_cfb128 referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysqlclient.lib(my_aes_openssl.cc.obj) : error LNK2019: unresolved external symbol EVP_aes_256_ofb referenced in function "struct evp_cipher_st const * __cdecl aes_evp_type(enum my_aes_opmode)" (?aes_evp_type@@YAPEBUevp_cipher_st@@W4my_aes_opmode@@@Z)
> mysql.exe : fatal error LNK1120: 113 unresolved externals
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\link.EXE"' : return code '0x460'
> Stop.
 => source failed verification.
Trying source 7 (type inline) of library mysql ...
  => source failed condition '!config.win32'.
Trying source 8 (type inline) of library mysql ...
  => source failed condition '!config.win32'.
test config.qtbase_sqldrivers.libraries.mysql FAILED

@silverqx
Copy link
Contributor Author

What is that? pls provide relevant info. @davidebeatrici

@davidebeatrici
Copy link
Contributor

qt5-base failing to configure with the mysqlplugin feature enabled, triplet is x64-windows-static-md.

@silverqx
Copy link
Contributor Author

I'm recognizing these unresolved symbols, I saw them somewhere during the upgrade from the 1.1 to 3 version, especially EVP_default_properties_is_fips_enabled and similar EVP functions but I'm shooting from the side so I can be wrong.

@silverqx
Copy link
Contributor Author

But anyway, this looks like a different type of error from what I have experienced, of course, the general problem is the same unable to do the static build of qt5 with mysqlplugin.

@Neumann-A
Copy link
Contributor

As i said, copy stuff from (starting from ${SSL_):

list(APPEND RELEASE_OPTIONS "PSQL_LIBS=${PSQL_RELEASE} ${PSQL_PORT_RELEASE} ${PSQL_COMMON_RELEASE} ${SSL_RELEASE} ${EAY_RELEASE} ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib")
list(APPEND DEBUG_OPTIONS "PSQL_LIBS=${PSQL_DEBUG} ${PSQL_PORT_DEBUG} ${PSQL_COMMON_DEBUG} ${SSL_DEBUG} ${EAY_DEBUG} ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib")

over to:
list(APPEND RELEASE_OPTIONS "MYSQL_LIBS=${MYSQL_RELEASE}")
list(APPEND DEBUG_OPTIONS "MYSQL_LIBS=${MYSQL_DEBUG}")

@silverqx
Copy link
Contributor Author

That could fix the problem @Neumann-A 👍, but who needs a static build 😁, this is not a critical issue it can be opened forever 😂

@davidebeatrici
Copy link
Contributor

@Neumann-A Sorry, I missed your message. That's indeed the solution, thanks!

Please note that I also had to link to zlib:

mysqlclient.lib(my_compress.cc.obj) : error LNK2019: unresolved external symbol compress2 referenced in function "unsigned char * __cdecl zlib_compress_alloc(struct mysql_zlib_compress_context *,unsigned char const *,unsigned __int64 *,unsigned __int64 *)" (?zlib_compress_alloc@@YAPEAEPEAUmysql_zlib_compress_context@@PEBEPEA_K2@Z)
mysqlclient.lib(my_compress.cc.obj) : error LNK2019: unresolved external symbol uncompress referenced in function "bool __cdecl zlib_uncompress(unsigned char *,unsigned __int64,unsigned __int64 *)" (?zlib_uncompress@@YA_NPEAE_KPEA_K@Z)

Should I create a pull request?

@JackBoosY
Copy link
Contributor

@davidebeatrici Yes please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants