OS:ubantu (20.04) WSL2での仮想空間
Rのconfig時に以下のエラーが吐き出されて困っています。
ー---
checking if libcurl is version 7 and >= 7.28.0... yes
checking if libcurl supports https... no
configure: error: libcurl >= 7.28.0 library and headers are required with support for https
ー---
config.logをみると
ー---
configure:40521: checking if libcurl supports https
configure:40548: gcc -o conftest -g -O2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.c -L/usr/local/lib -lcurl -L/usr/local/lib -lpcre2-8 -llzma -lbz2 -lz -lrt -ldl -lm >&5
configure:40548: $? = 0
configure:40548: ./conftest
configure:40548: $? = 1
configure: program exited with status 1
ー---
とchecking if libcurl supports httpsの部分で失敗しているようです。
他のサイトを参考にし、curlとlibcurlのVerを合わせたりしましたが改善しませんでした。
また、下記サイトを参考にPATHなどを指定しましたが、うまくいきませんでした。
https://stackoverflow.com/questions/48095461/curl-with-ssl-installed-but-compling-r-says-libcurl-find-no-https-support
ー----
curl "http://google.com"
ー---
と入力してcurlが動作することは確認しております。
解決方法をご存じの方、どうぞよろしくお願いいたします。
あなたの回答
tips
プレビュー