centos8安装cmake的问题: Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system”

问题描述:

在centos8中安装cmake,执行./bootstrap步骤时出现如下报错:

 "Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)"

解决办法:

安装openssh-server包即可解决,具体步骤执行如下命令:

yum install openssh-server -y

yum install openssl-devel

最后结果:

可以成功运行./bootstrap命令,如下图:

 

 

 

 

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
回答: 如果你在安装PIL时遇到了"ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)"的错误提示,这可能是因为你所使用的pip命令无法找到满足要求的PIL版本。 为了解决这个问题,你可以尝试使用特定版本的cython来安装,比如0.29.33版本。你可以使用以下命令来安装特定版本的cython: "pip3 install cython==0.29.33 -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com"。 通过指定cython的版本来安装PIL,你可能能够解决"ERROR: Could not find a version that satisfies the requirement PIL"的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)解决方案](https://blog.csdn.net/weixin_43178406/article/details/130536747)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] - *3* [CentOs安装包显示ERROR: Could not find a version that satisfies the requirement cython](https://blog.csdn.net/m0_53771468/article/details/129757871)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值