Ubuntu-Openssl 出现 Relocation Error

Openssl: relocation error: openssl: symbol EVP_md2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference

1
2
3
4
5
6
which openssl
ldd [openssl路径]
找到libcrypto.so路径
mv /home/lib/libcrypto.so.1.1 /home/lib/libcrypto.so.1.1_save
rm -rf /home/lib/libcrypto.so.1.1
ln -s /usr/lib64/libcrypto.so.1.1.1 /home/lib/libcrypto.so.1.1