openssl: relocation error: openssl: symbol EVP_mdc2 version OPENSSL_1_1_0 not defined in file libcry


编译openssl后,运行openssl遇到了这个错误

bin/openssl: relocation error: bin/openssl: symbol EVP_mdc2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference

1. 在/etc/ld.so.conf.d/libc.conf 文件中添加一行/usr/lib

2. 运行ldconfig命令

参考链接:

https://github.com/openssl/openssl/issues/11227