Installing R on Linux: configure: error: libcurl >= 7.28.0 library and headers are required with support for https

后端 未结 5 1651
长发绾君心
长发绾君心 2020-12-25 14:11

My issue is this:

Rigth now i have R 3.2 wooden xmas tree version, but theres some packages I need that dosent work on this version, so when i try to install the new

相关标签:
5条回答
  • 2020-12-25 14:33

    I had the same problem on Ubuntu 16.04LTS. Unfortunately installing libcurl4-openssl-dev did not solve the issue. However, installing libcurl4-gnutls-dev did work.

    0 讨论(0)
  • 2020-12-25 14:45

    I had the similar problem. First, you need to look into the config.log file to find out the real error. For example, mine is shown as:

    /usr/include/string.h:548:5: error: unknown type name '__locale_t' __locale_t __loc)

    Which would be a problem due to the gcc I used. Then you can solve the problem based solving this issue, in my case, change another version of gcc works for me.

    0 讨论(0)
  • 2020-12-25 14:50

    I had the same problem on centos 7. I fixed it by installing the libcurl-devel. The mistake I had made was that I just had libcurl installed and not it's development packages.

    0 讨论(0)
  • 2020-12-25 14:51

    I had similar problem, and I solve it by installing libcurl4-openssl-dev. This is one of packages, which R could use (R manual https://cran.r-project.org/web/packages/curl/index.html)

    0 讨论(0)
  • 2020-12-25 14:53

    In my case, it was due to libcurl installed in anaconda2 package, whose libcurl version did not support https.
    I removed the path to anaconda2 from PATH variable, and it was all fixed.

    0 讨论(0)
提交回复
热议问题