Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Rmpfr不会安装_R_Linux - Fatal编程技术网

Rmpfr不会安装

Rmpfr不会安装,r,linux,R,Linux,RHEL 6.6 我安装了mpfr 3.16并更新了ld.conf,但是即使我显式地设置了库和include,我仍然无法让R安装包 install.packages('Rmpfr', type = "source", configure.args=c('--with-mpfr-include=/usr/local/include','--with-mpfr-lib=/usr/local/lib')) 它似乎正在编译,但无法加载库 错误:dyn.load(文件,DLLpath=DLLpath,…

RHEL 6.6
我安装了mpfr 3.16并更新了ld.conf,但是即使我显式地设置了库和include,我仍然无法让R安装包

install.packages('Rmpfr', type = "source", configure.args=c('--with-mpfr-include=/usr/local/include','--with-mpfr-lib=/usr/local/lib'))
它似乎正在编译,但无法加载库

错误:dyn.load(文件,DLLpath=DLLpath,…)中“Rmpfr”的包或命名空间加载失败: 无法加载共享对象“/opt/shinny server/R/x86_64-redhat-linux-gnu-library/3.4/Rmpfr/libs/Rmpfr.so”: /opt/shinny server/R/x86_64-redhat-linux-gnu-library/3.4/Rmpfr/libs/Rmpfr.so:未定义符号:mpfr_digamma 错误:加载失败


有没有关于下一步尝试的建议?

在centos6.9中,我在
/usr/local/lib
中安装了
mpfr4.0.1

系统
mpfr
位于
/usr/lib64

如果我将
/usr/lib64/libmpfr.so
重命名为
/usr/lib64/libmpfr.so.bk
, 我能够安装Rmpfr:

R CMD INSTALL Rmpfr.tar.gz

然后您可以将
/usr/lib64/libmpfr.so.bk
重命名回
/usr/lib64/libmpfr.so
在centos6.9中,我在
/usr/local/lib
中安装
mpfr4.0.1

系统
mpfr
位于
/usr/lib64

如果我将
/usr/lib64/libmpfr.so
重命名为
/usr/lib64/libmpfr.so.bk
, 我能够安装Rmpfr:

R CMD INSTALL Rmpfr.tar.gz

然后您可以将
/usr/lib64/libmpfr.so.bk
重命名回
/usr/lib64/libmpfr.so

Stack Overflow是一个关于编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参见帮助中心中的。堆栈溢出是一个解决编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参见帮助中心中的。也许或者会是一个更好的提问的地方。