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

小鲨鱼2018發表於2024-12-10

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、再次配置

相關文章