[BioC] Problem installing goseq and RCurl

Dan Tenenbaum dtenenba at fhcrc.org
Tue Oct 30 13:43:35 CET 2012


Hi,

On Tue, Oct 30, 2012 at 12:53 AM, Dave Tang <davetingpongtang at gmail.com> wrote:
> Hello,
>
> I've been trying to install goseq on R-2.15.2 but one of the dependencies,
> RCurl is not installing. I've compiled curl and curl-config (7.28.0); there
> is also a system wide installation of curl (7.15.5) in /usr/bin/. I tried
> installing just RCurl but to no avail. I've looked online for help for hours
> but it has been hopeless. I would be extremely grateful if someone could let
> me know what is wrong.
>
> source("http://bioconductor.org/biocLite.R")
> biocLite("RCurl")
> checking for curl-config... /home/davetang/bin/bin/curl-config
>
> [snipped]
>
> gcc -std=gnu99 -shared -L/usr/local/lib64 -o RCurl.so base64.o curl.o
> curlInit.o curl_base64.o enums.o json.o memoryManagement.o myUTF8.o
> -L/home/davetang/bin/curl/lib -lcurl -lxml2 -lz -lm
> installing to /home/davetang/src/R-2.15.2/library/RCurl/libs
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> Creating a generic function for 'close' from package 'base' in package
> 'RCurl'
> ** help
> *** installing help indices
> ** building package indices
> ** installing vignettes
> ** testing if installed package can be loaded
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>   unable to load shared object
> '/home/davetang/src/R-2.15.2/library/RCurl/libs/RCurl.so':
>   libcurl.so.4: cannot open shared object file: No such file or directory
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing '/home/davetang/src/R-2.15.2/library/RCurl'
>
> The downloaded source packages are in
>         '/tmp/Rtmp9heDvL/downloaded_packages'
> Updating HTML index of packages in '.Library'
> Making packages.html  ... done
> Warning message:
> In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
>   installation of package 'RCurl' had non-zero exit status
>
> sessionInfo()
> R version 2.15.2 (2012-10-26)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
> [1] C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] BiocInstaller_1.8.3
>
> loaded via a namespace (and not attached):
> [1] tools_2.15.2
>

What Linux distribution are you running?
If ubuntu, try:
sudo apt-get install libcurl4-openssl-dev
(this is from http://www.omegahat.org/RCurl/FAQ.html)

Dan


> Many thanks in adavance,
>
> --
> Dave
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list