The Community Forum

Tech Zone => Linux Solutions => Topic started by: mostafizur on June 12, 2018, 11:58:48 AM

Title: Error when Install openssl package in the new R-3.5.0 version in the SUSE Linux
Post by: mostafizur on June 12, 2018, 11:58:48 AM
In our SUSE Linux 11 system, there is a number of R version installed as module avil. Now i installed R-3.5.0 (with the _SL suffix) and update the R-studio server and configure R-studio to use R-3.5.0_SL as default.
Now when user/me try to install Several dependencies, it cannot be installed, for example, the package "openssl". I get the following error (using the command line R or from R-Studio):

The major difference I found in R-3.5.0 with the existing version. It has new directory lib64. This directory contains R and pkgconfig. I am new in R environment. Is any of you could help me to do the process.

I tried several ways to install (manually download the package and use the local link, "R CMD INSTALL" is not working on our server, don't know as i am new here)
> install.packages('openssl')
trying URL ''
Content type 'application/octet-stream' length 1194261 bytes (1.1 MB)
downloaded 1.1 MB

* installing *source* package 'openssl' ...
** package 'openssl' successfully unpacked and MD5 sums checked
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because openssl was not found. Try installing:
* deb: libssl-dev (Debian, Ubuntu, etc)
* rpm: openssl-devel (Fedora, CentOS, RHEL)
* csw: libssl_dev (Solaris)
* brew: [email protected] (Mac OSX)
If openssl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
ERROR: configuration failed for package 'openssl'
* removing '/R/R-3.5.0_SL/lib64/R/library/openssl'

The downloaded source packages are in
Warning message:
In install.packages("openssl") :
  installation of package 'openssl' had non-zero exit status