I'm trying to install the R package ggpubr as follows (on Docker image) - all other libraries are installed successfully:
install.packages("~/mypackages/ggpubr_0.3.0.tar.gz", repos=NULL, type="source")
but I get the following error:
2020-06-13T08:55:43.6605261Z [0m[91mERROR: dependencies 'ggrepel', 'ggsci', 'cowplot', 'ggsignif', 'polynom', 'rstatix' are not available for package 'ggpubr'
2020-06-13T08:55:43.6608879Z [0m[91m* removing '/usr/local/R/library/ggpubr'
I tried to install it in different ways:
# Failed with the message that a mirror must be specified
install.packages("ggpubr")
# Failed due to dependencies
install.packages("ggpubr", repos="https://cran.rediris.org/")
# Failed because some dependencies cannot be installed from https://cran.rediris.org/
install.packages("ggpubr", repos="https://cran.rediris.org/", dependencies=TRUE)
I'm really confused. How can I fix this issue?
Update #1:
As suggested, I used ``:
install.packages("ggpubr",
repos = "https://cloud.r-project.org/",
dependencies = TRUE)
But still got the following errors:
2020-06-13T10:16:21.5258238Z [0m[91mERROR: dependencies 'pbkrtest', 'lme4' are not available for package 'car'
2020-06-13T10:16:21.5258733Z [0m[91m* removing '/usr/local/R/library/car'
2020-06-13T10:16:21.8271275Z [0m[91mERROR: dependency 'car' is not available for package 'rstatix'
2020-06-13T10:16:21.8271930Z [0m[91m* removing '/usr/local/R/library/rstatix'
2020-06-13T10:16:22.2094780Z [0m[91mERROR: dependency 'rstatix' is not available for package 'ggpubr'
2020-06-13T10:16:22.2095409Z [0m[91m* removing '/usr/local/R/library/ggpubr'
2020-06-13T10:16:22.2202760Z [0m[91m
2020-06-13T10:16:22.2202943Z The downloaded source packages are in
2020-06-13T10:16:22.2203292Z '/tmp/RtmpRJqVdH/downloaded_packages'
2020-06-13T10:16:22.2209634Z [0m[91mUpdating HTML index of packages in '.Library'
2020-06-13T10:16:22.2695889Z [0m[91mMaking 'packages.html' ...[0m[91m done
2020-06-13T10:16:22.2696343Z Warning messages:
2020-06-13T10:16:22.2696877Z 1: In install.packages("ggpubr", repos = "https://cloud.r-project.org/", :
2020-06-13T10:16:22.2697332Z installation of package 'nloptr' had non-zero exit status
2020-06-13T10:16:22.2697747Z 2: In install.packages("ggpubr", repos = "https://cloud.r-project.org/", :
2020-06-13T10:16:22.2698158Z installation of package 'lme4' had non-zero exit status
2020-06-13T10:16:22.2698562Z 3: In install.packages("ggpubr", repos = "https://cloud.r-project.org/", :
2020-06-13T10:16:22.2698981Z installation of package 'pbkrtest' had non-zero exit status
2020-06-13T10:16:22.2699408Z 4: In install.packages("ggpubr", repos = "https://cloud.r-project.org/", :
2020-06-13T10:16:22.2699816Z [0m[91m installation of package 'car' had non-zero exit status
2020-06-13T10:16:22.2700246Z 5: In install.packages("ggpubr", repos = "https://cloud.r-project.org/", :
2020-06-13T10:16:22.2700644Z installation of package 'rstatix' had non-zero exit status
2020-06-13T10:16:22.2701086Z 6: In install.packages("ggpubr", repos = "https://cloud.r-project.org/", :
2020-06-13T10:16:22.2701483Z installation of package 'ggpubr' had non-zero exit status
2020-06-13T10:16:22.8005121Z [0m[91malso installing the dependency 'triebeard'
Update #2:
Following the suggestions in comments, I tried to install dependencies one by one using install.packages instead of using dependencies=TRUE. I started with installing the package nloptr. Please see below the error message: ERROR: configuration failed for package 'nloptr'.
2020-06-13T11:25:07.6990004Z [91mtestopt.cpp: In function 'int test_function(int)':
2020-06-13T11:25:07.6990942Z testopt.cpp:223:21: warning: 'nlopt_result nlopt_minimize(nlopt_algorithm, int, nlopt_func_old, void*, const double*, const double*, double*, double*, double, double, double, double, const double*, int, double)' is deprecated [-Wdeprecated-declarations]
2020-06-13T11:25:07.6991447Z maxeval, maxtime);
2020-06-13T11:25:07.6991629Z ^
2020-06-13T11:25:07.6991995Z [0m[91mIn file included from testopt.cpp:44:0:
2020-06-13T11:25:07.6992273Z ../api/nlopt.h:329:28: note: declared here
2020-06-13T11:25:07.6992503Z NLOPT_EXTERN(nlopt_result) nlopt_minimize(
2020-06-13T11:25:07.6992740Z ^~~~~~~~~~~~~~
2020-06-13T11:25:07.8309097Z [0mmv -f .deps/testopt.Tpo .deps/testopt.Po
2020-06-13T11:25:07.8351821Z /bin/bash ../libtool --tag=CXX --mode=link x86_64-conda_cos6-linux-gnu-c++ -std=gnu++11 -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -I/usr/local/envs/mlopspython_ci/include -fdebug-prefix-map=/tmp/build/80754af9/r-base_1570124924484/work=/usr/local/src/conda/r-base-3.6.1 -fdebug-prefix-map=/usr/local/envs/mlopspython_ci=/usr/local/src/conda-prefix -o testopt testfuncs.o testopt.o ../libnlopt_cxx.la -lm
2020-06-13T11:25:07.8924933Z [91mlibtool: link: warning: library `/usr/local/envs/mlopspython_ci/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/lib/../lib/libstdc++.la' was moved.
2020-06-13T11:25:07.9019996Z [0m[91mlibtool: link: warning: library `/usr/local/envs/mlopspython_ci/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/lib/../lib/libstdc++.la' was moved.
2020-06-13T11:25:07.9146941Z [0mlibtool: link: x86_64-conda_cos6-linux-gnu-c++ -std=gnu++11 -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -I/usr/local/envs/mlopspython_ci/include -fdebug-prefix-map=/tmp/build/80754af9/r-base_1570124924484/work=/usr/local/src/conda/r-base-3.6.1 -fdebug-prefix-map=/usr/local/envs/mlopspython_ci=/usr/local/src/conda-prefix -o .libs/testopt testfuncs.o testopt.o ../.libs/libnlopt_cxx.so /usr/local/envs/mlopspython_ci/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/lib/../lib/libstdc++.so -lm -Wl,-rpath -Wl,/tmp/RtmpWCPONP/R.INSTALL11b11c1011f6/nloptr/src/nlopt_src/lib -Wl,-rpath -Wl,/usr/local/envs/mlopspython_ci/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/lib/../lib
2020-06-13T11:25:07.9602105Z [91m/usr/local/envs/mlopspython_ci/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin[0m[91m/ld: ../.libs/libnlopt_cxx.so: undefined reference to `memcpy#GLIBC_2.14'
2020-06-13T11:25:07.9602657Z collect2: error: ld returned 1 exit status
2020-06-13T11:25:07.9621958Z [0m[91mmake[2]: *** [Makefile:381: testopt] Error 1
2020-06-13T11:25:07.9622950Z [0mmake[2]: Leaving directory '/tmp/RtmpWCPONP/R.INSTALL11b11c1011f6/nloptr/src/nlopt_src/test'
2020-06-13T11:25:07.9633779Z [91mmake[1]: *** [Makefile:574: all-recursive] Error 1
2020-06-13T11:25:07.9634679Z [0mmake[1]: Leaving directory '/tmp/RtmpWCPONP/R.INSTALL11b11c1011f6/nloptr/src/nlopt_src'
2020-06-13T11:25:07.9635296Z [91mmake: *** [Makefile:438: all] Error 2
2020-06-13T11:25:07.9838980Z [0m[91mERROR: configuration failed for package 'nloptr'
2020-06-13T11:25:07.9845313Z [0m[91m* removing '/usr/local/R/library/nloptr'
You can define a CRAN mirror that is able to provide all the packages, e.g.
install.packages("ggpubr", repos = "https://cloud.r-project.org/", dependencies = TRUE)
(This works at least for me.)
Or you can define repos as a vector of CRAN mirrors:
install.packages("ggpubr",
repos = c("https://cran.rediris.org/", "https://cloud.r-project.org/"),
dependencies = TRUE)
I tried the answer of NMostajo installing sudo apt-get install libcurl4-openssl-dev because the installation problem of ggpubr seemed to be caused by problems with nloptr. This alone did not fix the problem. On github I found another hint that one needs to also install libnlopt-dev. This fixed the issue for me.
I am no expert in R, but I had to install couple of packages and also had to install few dependencies in R. Here is what I did.
In terminal run
sudo apt-get install libblas-dev liblapack-dev gfortran
rm -r /home/isuru/R/x86_64-pc-linux-gnu-library/4.2/00LOCK-RcppEigen
Then install packages in R
install.packages("pbkrtest")
install.packages("ggpubr")
I also followed some of the instructions in other answers. So quite not sure what is needed exactly. I was using Ubuntu 20.04 LTS.
I was having the same problem
After install nloptr, it worked.
nloptr also needs you to install cmake
so run at terminal
sudo apt install cmake
And then install nloptr
install.packages("nloptr", dependencies = TRUE)
You need to install gcc-fortran or equivalent package for your system
Had the same issue and followed #ad_bek 's advice, that alone didn't solve it, but gave me a more informative error during the installation in R,
missing: libcurl4-openssl-dev
After installing libcurl4-openssl-dev in the system the install.packages("ggpubr") was working in R
In my case, the installation of libnlopt-dev solved the problem.
System: Ubuntu 22.04 and RStudio 2022.07.1 Build 554
Ciao
Related
Iam trying to import windows fonts into R/R.Stuido (both latest versions used with Windows 10). Some time ago I was successful on another Windows 10 device using this code:
install.packages("pkgbuild")
library(extrafont)
library(remotes)
remotes::install_version("Rttf2pt1", version = "1.3.8")
extrafont::font_import()
When I tried to re-run that one on the actual device I am running into troubles with the installation of the respective Rttf2pt1 version. It seems to run into installation problems as the the error message is as follows:
Downloading package from url: https://cran.rstudio.com//src/contrib/Archive/Rttf2pt1/Rttf2pt1_1.3.8.tar.gz
Installing package into ‘C:/Users/.../R/win-library/4.1’
(as ‘lib’ is unspecified)
* installing *source* package 'Rttf2pt1' ...
** package 'Rttf2pt1' successfully unpacked and MD5 sums checked
** using staged installation
** libs
running 'src/Makefile.win' ...
echo "make ttf2pt1 in ttf2pt1/ ..."
make ttf2pt1 in ttf2pt1/ ...
(cd ttf2pt1; /c/PROGRA~1/rtools40/usr/bin/make -f "C:/PROGRA~1/R/R-41~1.1/etc/x64/Makeconf" -f Makefile CC="`"C:/PROGRA~1/R/R-41~1.1/bin/R" CMD config CC`" CFLAGS="`"C:/PROGRA~1/R/R-41~1.1/bin/R" CMD config CFLAGS` -DWINDOWS -Wno-comment -Wno-format -Wno-logical-op-parentheses -Wno-pointer-sign -Wno-unused-function -Wno-unused-variable -Wno-parentheses -Wno-unused-label -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-value" ttf2pt1)
C:/Program Files/rtools40/mingw64/bin/gcc -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -DWINDOWS -Wno-comment -Wno-format -Wno-logical-op-parentheses -Wno-pointer-sign -Wno-unused-function -Wno-unused-variable -Wno-parentheses -Wno-unused-label -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-value -c ttf2pt1.c
make[1]: C:/Program: Command not found
make[1]: *** [Makefile:185: ttf2pt1.o] Error 127
make: *** [Makefile.win:16: all] Error 2
ERROR: compilation failed for package 'Rttf2pt1'
* removing 'C:/Users/.../R/win-library/4.1/Rttf2pt1'
* restoring previous 'C:/Users/.../R/win-library/4.1/Rttf2pt1'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/.../Rttf2pt1’ had non-zero exit status
Any ideas how to solve the problem? Thank you for your help
I could solve it by copy-paste the package from my older PC.
I see that you installed the Rtools on C:/Program Files/.
Try to uninstall the Rtools, then reinstall it to the default installation path, C:/rtools40.
I hope it fixes your problem. It fixed mine.
If the newer version of the Rttf2pt1 package is currently installed on your PC, remove it. Then follow the solution provided in this link to install the older version (1.3.8) from a CRAN repository. In your case, this code will solve it:
url <- "https://cran.r-project.org/src/contrib/Archive/Rttf2pt1/Rttf2pt1_1.3.8.tar.gz"
install.packages(url, repos=NULL, type="source")
I am developing an R package called DescObs (https://github.com/MaaniBeigy/DescObs). It imports conf.limits.nct function from MBESS, which itself depends on another package called gsl. It shows no problems at all for R CMD check and the installation of DescObs on Linux machines assessed by Travis continuous integration platform (https://travis-ci.org/MaaniBeigy/DescObs). However, AppVeyor fails:
** libs
*** arch - i386
C:/Rtools/mingw_32/bin/gcc -I"c:/R/include" -DNDEBUG -I/include -O3 -Wall -std=gnu99 -mtune=generic -c airy.c -o airy.o
airy.c:1:29: fatal error: gsl/gsl_sf_airy.h: No such file or directory
#include <gsl/gsl_sf_airy.h>
^
compilation terminated.
make: *** [c:/R/etc/i386/Makeconf:208: airy.o] Error 1
ERROR: compilation failed for package 'gsl'
* removing 'c:/RLibrary/gsl'
Error in i.p(...) :
(converted from warning) installation of package 'gsl' had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
Command exited with code 1
I also tried the solution recommended in Building an R package that uses the GSL on Windows but it did not help. I also compiled it using mingw-w64 and gcc-4.6.3, which both showed the same error.
Moreover, I tried to install by - cmd: vcpkg install gsl:x64-windows, but did show the same error. Here, you can see my appveyor.yml.
Do you have any ideas?
Fortunately, my previous appveyor.yml could finally build it:
install:
- ps: Bootstrap
- cmd: git submodule update --init --recursive
- cmd: git clone https://github.com/CxxTest/cxxtest
- cmd: cd c:\tools\vcpkg
- cmd: vcpkg integrate install
- cmd: vcpkg install gsl:x64-windows
- cmd: vcpkg install fftw3:x64-windows
- cmd: cd "%APPVEYOR_BUILD_FOLDER%"
environment:
global:
USE_RTOOLS: true
NOT_CRAN: true
_R_CHECK_FORCE_SUGGESTS: true
_R_CHECK_CRAN_INCOMING_: true
#R_CHECK_ARGS: "--run-dontrun"
matrix:
- R_VERSION: devel
R_ARCH: x64
GCC_PATH: gcc-4.6.3
I do not know the exact reason, but I am glad it works.
edit: I faced the problem again in another package. This line by Owen McDonnell image: previous visual studio 2015 could solve the problem. Refer to cvcqv package for the full appveyor.yml.
I came to this thread because I faced what I think is a very similar situation when I tried to update the package gsl:
installing source package 'gsl' ...
** package 'gsl' successfully unpacked and MD5 sums checked
** using staged installation
********************************************** WARNING: this
package has a configure script
It probably needs manual configuration **********************************************
** libs "C:/rtools40/mingw64/bin/"gcc -I"C:/PROGRA~1/R/R-4.1.1/include" -DNDEBUG -I/include -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c airy.c -o airy.o airy.c:1:10: fatal error: gsl/gsl_sf_airy.h: No such file or
directory #include <gsl/gsl_sf_airy.h>
^~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [C:/PROGRA~1/R/R-4.1.1/etc/x64/Makeconf:238: airy.o] Error 1 ERROR:
compilation failed for package 'gsl'
removing 'C:/Users/shima/OneDrive/Documents/R/win-library/4.1/gsl'
restoring previous 'C:/Users/shima/OneDrive/Documents/R/win-library/4.1/gsl' Warning in
install.packages : installation of package ‘gsl’ had non-zero exit
status
This thread helped me find the solution, a warm thank you, along with this discussion and this one
For those of you on Windows, using Rtools, here are my steps to solve this issue, i.e. not being able to update gsl package in R under windows:
start Rtools Bash (found in apps, Rtools 4.0 in the Windows menu)
Run pacman -S mingw-w64-x86_64-gsl and confirm with yes (y)
I don't think it's relevant, but i ran pacman -Syu just before to update my Rtools and throwing the command pacman -Sl gave me the correct name of the package for the pacman command in 2.
Updating gsl in Rstudio now leads to a clean
DONE (gsl)
Strange behavior: prior to now, I've been able to install R packages using R studio, etc., specifically using install.packages("<package name>"). Now, unless I run R using sudo directly in a terminal window, I can't install packages without receiving the following traceback:
> install.packages("mlbench")
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://mirrors.sorengard.com/cran/src/contrib/mlbench_2.1-1.tar.gz'
Content type 'application/x-gzip' length 920768 bytes (899 KB)
==================================================
downloaded 899 KB
* installing *source* package ‘mlbench’ ...
** package ‘mlbench’ successfully unpacked and MD5 sums checked
** libs
/home/alex/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -I/home/alex/anaconda3/lib/R/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -I/home/alex/anaconda3/include -fpic -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -I/home/alex/anaconda3/include -c waveform.c -o waveform.o
make: /home/alex/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc: Command not found
/home/alex/anaconda3/lib/R/etc/Makeconf:160: recipe for target 'waveform.o' failed
make: *** [waveform.o] Error 127
ERROR: compilation failed for package ‘mlbench’
* removing ‘/home/alex/anaconda3/lib/R/library/mlbench’
* restoring previous ‘/home/alex/anaconda3/lib/R/library/mlbench’
The downloaded source packages are in
‘/tmp/RtmpRBWDWi/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("mlbench") :
installation of package ‘mlbench’ had non-zero exit status
This is happening for quite a few that I have tried, but mlbench is the one that I am most concerned with right now.
Any help is much appreciated.
R (with anaconda)
Kubuntu 17.10 (Artful)
As posted by #r2evans in the comments, this link provides the tip that worked for me.
Because I am using anaconda to manage my R environment, this is what fixed the issue I was having: conda install gxx_linux-64.
Also:
If you are seeing similar errors but with a traceback line similar to make: /home/alex/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran: Command not found..., use a terminal to run the same line as above, but specifying gfortran instead of gcc: conda install gfortran_linux-64.
I am working on an R package (https://github.com/bgbrink/dropClust) and I was testing if it can be installed, since it depends on a number of packages both from CRAN and from Bioconductor. I specified the three dependencies from Bioconductor in the DESCRIPTION:
Remotes:
bioc::flowDensity,
bioc::SamSPECTRAL,
bioc::flowPeaks
However, when I try to install the package, the installation of flowPeaks fails, because the script downloades the source version of the package, which requires GSL to be present in order to be compiled.
* installing *source* package ‘flowPeaks’ ...
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include `gsl-config --cflags` -fPIC -Wall -g -O2 -c Rpack.cpp -o Rpack.o
/bin/sh: gsl-config: command not found
In file included from Rpack.cpp:16:
./gvector_gmatrix.h:24:10: fatal error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
^
1 error generated.
make: *** [Rpack.o] Error 1
ERROR: compilation failed for package ‘flowPeaks’
When I download the package manually from Bioconductor, everything works fine, because the script downloades the binary version of the package. Can I specify somewhere that this is the default behaviour? I tried options(pkgType = "binary") without success.
Edit: No new ideas, so I'm bumping it once.
I have R 3.2.0 in redhat.
I am trying to install RCurl, but get the following error
myUTF8.c: In function \u2018StringValue\u2019:
myUTF8.c:284: warning: passing argument 1 of \u2018Rf_mkCharLenCE\u2019 from incompatible pointer type
gcc -std=gnu99 -shared -L/home/gowthan/Downloads/R-3.2.0/lib -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/local/p4clients/pkgbuild-5R4zB/workspace/build/Curl/Curl-7.18.1.155.6782/RHEL5_64/DEV.STD.PTHREAD/build/private/curl/install/lib -lcurl -L/opt/brazil-pkg-cache/packages/Fbopenssl/Fbopenssl-0.0.4.504.7765/RHEL5_64/DEV.STD.PTHREAD/build/lib -lfbopenssl -L/local/p4clients/pkgbuild-5R4zB/workspace/build/Curl/Curl-7.18.1.155.6782/RHEL5_64/DEV.STD.PTHREAD/build/private/tmp/brazil-path/[Openssl]lib.libfarm/lib -L/local/p4clients/pkgbuild-k5Vrj/workspace/build/Libxml2/Libxml2-2.7.8.334.176/RHEL5_64/DEV.STD.PTHREAD/build/private/libxml2/install/lib -lxml2 -lz -lm -L/home/gowthan/Downloads/R-3.2.0/lib -lR
/usr/bin/ld: cannot find -lfbopenssl
collect2: ld returned 1 exit status
make: *** [RCurl.so] Error 1
ERROR: compilation failed for package \u2018RCurl\u2019
* removing \u2018/home/gowthan/Downloads/R-3.2.0/library/RCurl\u2019
The downloaded source packages are in
\u2018/tmp/RtmpLXPsKI/downloaded_packages\u2019
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("RCurl", dep = TRUE) :
installation of package \u2018XML\u2019 had non-zero exit status
2: In install.packages("RCurl", dep = TRUE) :
installation of package \u2018RCurl\u2019 had non-zero exit status
The build is failing and it does not find lfbopenssl. How do I install that?
EDIT:
I already tried : yum -y install libcurl libcurl-devel
Loaded plugins: security
Setting up Install Process
No package libcurl available.
No package libcurl-devel available.
Nothing to do
I already have curl, curl-devl and openssl installed.
There is warning: cannot find -lfbopenssl, so you need to install openssl first: https://www.openssl.org/and then try to perfrom RCurl installation one more time.
Try this code:
sudo apt-get install aptitude
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libxml2-dev
As mentioned here: https://github.com/sagemath/cloud/issues/114
EDIT
on red-hat try this:
yum install openssl
Also remember about configuration of openssl and curl.
The configuration of openssl is described here:
http://dev.antoinesolutions.com/openssl