问题:
编译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
博客主要讲述编译openssl后运行时出现'relocation error'的问题,具体为'symbol EVP_mdc2 version OPENSSL_1_1_0 not defined'。解决办法是在/etc/ld.so.conf.d/libc.conf文件中添加一行/usr/lib,然后运行ldconfig命令。
5857





