繁体   English   中英

我试图使用Ubuntu 18.04在R中安装openssl软件包但没有成功

[英]I am trying to install openssl package in R using Ubuntu 18.04 without success

我尝试在R中安装Openssl包(在Ubuntu 18.04中使用RStudio),但是我收到错误“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.

我已经尝试通过RStudio和Terminal安装,但由于我对Ubuntu比较新,我没有任何成功。 我下载了tar.gz文件,但我不知道该怎么办。

我实际上想要使用包httrggmap ,但它们都需要openssl

尝试终端:sudo apt-get install libssl-dev,然后尝试再次在R中安装包openssl。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM