[Interest] 5.11.1 link error with OpenSSL (Windows)
Bob Hood
bhood2 at comcast.net
Thu Jul 26 23:56:13 CEST 2018
I'm trying three different versions of OpenSSL -- 1.0.2l, 1.0.2o, 1.1.0h --
and none of them will link correctly with Qt 5.11.1. The "known issues" wiki
page[1] indicates something with Linux that suggests installing an older
version of OpenSSL (specifically, 1.0 is mentioned). Would this also apply to
Windows as well? It's not explicitly mentioned in these issues.
I've built previous versions of Qt with these OpenSSL 1.0.2 libraries.
Example errors:
...
qsslsocket_openssl_symbols.obj : error LNK2019: unresolved external symbol
_sk_num referenced in function "int __cdecl q_sk_num(struct stack_st *)"
(?q_sk_num@@YAHPAUstack_st@@@Z)
qsslsocket_openssl_symbols.obj : error LNK2019: unresolved external symbol
_sk_value referenced in function "void * __cdecl q_sk_value(struct stack_st
*,int)" (?q_sk_value@@YAPAXPAUstack_st@@H at Z)
qsslsocket_openssl_symbols.obj : error LNK2019: unresolved external symbol
_sk_new_null referenced in function "struct stack_st * __cdecl
q_sk_new_null(void)" (?q_sk_new_null@@YAPAUstack_st@@XZ)
qsslsocket_openssl_symbols.obj : error LNK2019: unresolved external symbol
_sk_free referenced in function "void __cdecl q_sk_free(struct stack_st *)"
(?q_sk_free@@YAXPAUstack_st@@@Z)
...
Configured with:
configure -opensource -confirm-license -prefix Q:\Qt\5.11.1\64_dll -mp
-release -nomake examples -no-qml-debug -no-compile-examples -nomake tests
-openssl-linked -I Q:\Qt\openssl_64_dll_102o\include -L
Q:\Qt\openssl_64_dll_102o\lib -opengl desktop
(of course, the OpenSSL folders are different for each version I've tried)
[1] https://wiki.qt.io/Qt_5.11.0_Known_Issues
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180726/cc4fb85c/attachment.html>
More information about the Interest
mailing list