configure: error: libcurl >= 7.28.0 library and headers are required with su

 

001、配置报错如下:

checking whether PCRE support suffices... yes
checking for curl-config... /root/anaconda3/bin/curl-config     ##  用的是conda中的cure
checking libcurl version ... 8.9.1
checking for curl/curl.h... yes
checking if libcurl is >= 7.28.0... no
configure: error: libcurl >= 7.28.0 library and headers are required with support for https

 

002、检查版本

(base) [root@PC1 R-4.4.2]# /root/anaconda3/bin/curl-config --version          ## 为啥还报错??
libcurl 8.9.1

 

003、退出基础环境

(base) [root@PC1 R-4.4.2]# conda deactivate
[root@PC1 R-4.4.2]# /usr/bin/curl-config --version
libcurl 7.76.1

 

004、再次配置

 。

 

posted @ 2024-12-10 16:31  小鲨鱼2018  阅读(220)  评论(0)    收藏  举报