gpt4 book ai didi

ssl - 手动安装 curl 找不到 openssl

转载 作者:太空宇宙 更新时间:2023-11-03 13:50:15 38 4
gpt4 key购买 nike

我的系统 (Centos7) 安装的 curl 不支持 https。所以我跟着这个answersource 下载和 installed myself ,使用 ./configure --with-ssl 选项。

我在配置时收到以下警告:

checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
checking for ssl_version in -laxtls... no
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.

因此,我的 curl 构建不支持 https。

Open SSL 安装在我的系统上:

[user@server curl-7.61.0]$ which openssl
/usr/bin/openssl

如何让我的 curl 安装找到 openssl 并支持 HTTPS?

最佳答案

尝试安装 openssl-devel。从源代码构建时通常需要开发 (-devel) 包。

关于ssl - 手动安装 curl 找不到 openssl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51986522/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com