Skip to content
This repository was archived by the owner on Apr 16, 2018. It is now read-only.
This repository was archived by the owner on Apr 16, 2018. It is now read-only.

Can't install.packages("RCurl") in R. Missing libcurl-dev? #114

@macieksk

Description

@macieksk

I can't install package RCurl in R and other packages depending on it.
I suppose the problem is missing package libcurl-dev.

Or possibly libcurl4-openssl-dev needs to be installed specifically.

install.packages("RCurl")

Installing package into ‘/projects/e45b7bab-3a7e-4939-a0ec-2081b92505b1/R/x86_64-unknown-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.r-project.org/src/contrib/RCurl_1.95-4.1.tar.gz'
Content type 'application/x-gzip' length 870915 bytes (850 Kb)
opened URL
==================================================
downloaded 850 Kb

* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/projects/e45b7bab-3a7e-4939-a0ec-2081b92505b1/R/x86_64-unknown-linux-gnu-library/3.0/RCurl’

The downloaded source packages are in
    ‘/tmp/RtmpZ0LaMy/downloaded_packages’
Warning message:
In install.packages("RCurl") :
  installation of package ‘RCurl’ had non-zero exit status

In shell:

~$ locate curl-config
~$ locate libcurl | head
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.3
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.2.0
/usr/lib/x86_64-linux-gnu/libcurl.so.3
/usr/lib/x86_64-linux-gnu/libcurl.so.4
/usr/lib/x86_64-linux-gnu/libcurl.so.4.2.0

Relevant RCurl installation help: http://www.omegahat.org/RCurl/FAQ.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions