执行“openssl version“报openssl: /usr/lib/libcrypto.so.3: version `OPENSSL_3.1.0‘ not found (required by

详细信息如下:

openssl: /usr/lib/libcrypto.so.3: version `OPENSSL_3.1.0' not found (required by openssl)
openssl: /usr/lib/libcrypto.so.3: version `OPENSSL_3.0.3' not found (required by openssl)
openssl: /usr/lib/libcrypto.so.3: version `OPENSSL_3.1.0' not found (required by /usr/lib/libssl.so.3)
openssl: /usr/lib/libcrypto.so.3: version `OPENSSL_3.0.3' not found (required by /usr/lib/libssl.so.3)

提示缺少"libcrypto.so.3"这个库,使用"find / -name 'libcrypto.so.3'"之后发现在/usr/lib/下有这个库,所以可能是这个库损坏,重新copy过来一个即可。

执行“sudo cp /home/zyf/sourceOpen/openssl/libcrypto.so.3 /usr/lib/libcrypto.so.3”之后,

再次执行“openssl version“

出现“OpenSSL 3.1.0-dev  (Library: OpenSSL 3.1.0-dev )“说明问题解决。

你可能感兴趣的:(其他,linux)