There is something wrong with multiple definition of `ERR_remove_thread_state' When I compile a c++ server and link openssl-1.0.2 libcrypto.a and libmysqlclient.a.Here is the error:
/usr/local/openssl-1.0.2/lib/libcrypto.a(err.o): In function `ERR_remove_thread_state':
err.c:(.text+0x1ac0): multiple definition of `ERR_remove_thread_state'
/usr/lib/x86_64-linux-gnu/libmysqlclient.a(ssl.cpp.o):(.text+0x1df0): first defined here