Deepin 15.11 编译安装 MySQL-5.6.46 时,报错:
/usr/bin/ld: /usr/local/lib/libssl.a(s23_srvr.o): relocation R_X86_64_PC32 against symbol `ssl23_get_client_hello' can not be used when making a shared object; recompile with -fPIC
查了下资料说是 openssl 的问题,需要把 openssl 编译成 shared,参考代码:
./config --prefix=/usr/local/ssl enable-shared
相关文章:
Deepin 15.11 编译安装 OpenSSL 1.0.2t
参考文章: