不灭的焱

革命尚未成功,同志仍须努力下载JDK17

作者:Albert.Wen  添加时间:2015-10-24 09:15:51  修改时间:2024-04-03 03:47:21  分类:C/C++/Rust  编辑

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

 

参考文章:

openssl编译出错解决