/usr/bin/ld: /home/firefly/project/lib/libzltoolkit.a(SSLUtil.cpp.o): undefined reference to symbol 'TLS_server_method@@OPENSSL_1_1_0'
//usr/lib/aarch64-linux-gnu/libssl.so.1.1: error adding symbols: DSO missing from command line
When compiling the static library, OpenSSL was enabled, and the compilation of the static library was fine, but when it was put into the project, this error occurred.
/usr/bin/ld: /home/firefly/project/lib/libzltoolkit.a(SSLUtil.cpp.o): undefined reference to symbol 'TLS_server_method@@OPENSSL_1_1_0'
//usr/lib/aarch64-linux-gnu/libssl.so.1.1: error adding symbols: DSO missing from command line
/usr/bin/ld: /home/firefly/project/lib/libzltoolkit.a(SSLUtil.cpp.o): undefined reference to symbol 'TLS_server_method@@OPENSSL_1_1_0' //usr/lib/aarch64-linux-gnu/libssl.so.1.1: error adding symbols: DSO missing from command line
When compiling the static library, OpenSSL was enabled, and the compilation of the static library was fine, but when it was put into the project, this error occurred.
编译静态库时候,将openssl打开了,编译静态库没有问题,但是放到项目中就报这个了
TRANS_BY_GITHUB_AI_ASSISTANT