I try to install the Openssl package in R (using RStudio in Ubuntu 18.04), but I get the error "undefined symbol: RSA_pkey_ctx_ctrl":
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl/libs/openssl.so':
/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl/libs/openssl.so: undefined symbol: RSA_pkey_ctx_ctrl
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl’
Warning in install.packages :
installation of package ‘openssl’ had non-zero exit status.
I have already tried to install through both RStudio and Terminal, but as I am relatively new to Ubuntu, I did not have any success. I have the tar.gz file downloaded, but I don't know what should I do with it.
I actually want to use packages httr
and ggmap
, but they both require openssl
.
Open R via your preferred method (icon on desktop, Start Menu, dock, etc.) Click “Packages” in the top menu then click “Install package(s)”. Choose a mirror that is closest to your geographical location. Now you get to choose which packages you want to install.
Try sudo apt-get install r-cran-openssl -- the package is part of the distribution and ready pre-made as a binary. and after that try to install package openssl in R again.
Guide to install the latest version of openssl 1.1.1b on Ubuntu 18.04. Step 1 : Download openssl 1.1.1b Download the latest openssl 1.1.1b release from from Ubuntu source package….
The default toolket of OpenSSL that comes with Ubuntu isn’t the latest. To get the latest, you must download it yourself and install. Guide to install the latest version of openssl 1.1.1b on Ubuntu 18.04.
Unable to install a few R packages (statistical programming language) since updating from 16.04 to Ubuntu 18.04 . The problem is related to the use of the shared library libcurl.
Try in terminal:
sudo apt-get install libssl-dev
and after that try to install package openssl in R again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With