【发布时间】:2019-02-28 18:11:33
【问题描述】:
我正在尝试在装有 Linux CentOS 7 的笔记本电脑上安装 Bioconductor oligo R 软件包。 它无法通过常见的 Bioconductor 安装命令安装,因为它说 RCurl 是为另一个 Rversion 安装的,需要重新安装。
我尝试通过命令安装它:install.packages("RCurl")
但不幸的是它没有工作。
这是日志:
Error: package or namespace load failed for ‘RCurl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/davide/R/x86_64-redhat-linux-gnu-library/3.5/RCurl/libs/RCurl.so':
libiconv.so.2: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted ERROR: loading failed
* removing ‘/home/davide/R/x86_64-redhat-linux-gnu-library/3.5/RCurl’
The downloaded source packages are in ‘/tmp/RtmpAcmmPE/downloaded_packages’ Warning message: In install.packages("RCurl") : installation of package ‘RCurl’ had non-zero exit status
知道如何让它发挥作用吗?
【问题讨论】:
-
似乎缺少 libiconv。这可能是
libcurl-devel包的一部分,可以使用sudo yum install libcurl-devel从终端安装 -
谢谢@bob。我试图重新安装它,但它说
Package libcurl-devel-7.29.0-51.el7.x86_64 already installed and latest version -
您可能想查看生物导体问题页面中的this 旧线程。
-
如果你用谷歌搜索这个问题——使用“error package namespace failed RCurl”和“cannot open shared library”,有很多链接可能会有所帮助。
标签: r linux rcurl bioconductor