# curl https://www.example.com
curl: relocation error: /lib64/libcurl.so.4: symbol SSLv3_client_method version OPENSSL_1_1_0 not defined in file libssl.so.1.1 with link time reference
错误是/usr/lib64中的动态链接中无法识别和链接,对此所采取的解决方法是将其加入到系统环境路径下:
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
######################
/usr/lib/
/usr/lib64/
######################
/usr/local/openssl/lib
# ldconfig -v
# curl -I https://www.example.com
HTTP/1.1 200 OK
Content-Encoding: gzip
Accept-Ranges: bytes
Age: 550673
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Tue, 17 Oct 2023 10:29:12 GMT
Etag: "3147526947+gzip"
Expires: Tue, 24 Oct 2023 10:29:12 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Server: ECS (sac/2569)
X-Cache: HIT
Content-Length: 648

参考
麒麟v10 curl报错:SSLv3_client_method version OPENSSL_1_1_0 not define
https://blog.csdn.net/weixin_53315414/article/details/132478103
银河麒麟V10系统NetworkManager服务启动失败的解决方法
https://blog.csdn.net/u013930899/article/details/128390448
网友评论