简体   繁体   English

R的软件包fracdiff无法在Linux Mint中安装

[英]Package fracdiff of R fails to install in Linux Mint

I am installing the package forecast . 我正在安装软件包forecast However, I get a persistent error because the package fracdiff fails with this error: 但是,由于软件包fracdiff失败并出现以下错误,我遇到了一个永久错误:

/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
/usr/share/R/share/make/shlib.mk:6: recipe for target 'fracdiff.so' failed
make: *** [fracdiff.so] Error 1
ERROR: compilation failed for package ‘fracdiff’
* removing ‘/home/mario/R/x86_64-pc-linux-gnu-library/3.4/fracdiff’
Warning in install.packages :
  installation of package ‘fracdiff’ had non-zero exit status

Normally, when I see had non-zero exit status , it is for me a clue telling me that I should go to Synaptic and search for the library r-cran-fracdiff . 通常,当我看到had non-zero exit status ,这对我来说是个提示,我应该去Synaptic并搜索库r-cran-fracdiff However, this library is not present in my repositories, and don't really know how to solve this issue. 但是,该库不在我的存储库中,并且真的不知道如何解决此问题。

Any idea? 任何想法?

"/usr/bin/ld: cannot find -lXXX" tells you that you should be looking for a library named something like "libXXX-dev". “ / usr / bin / ld:找不到-lXXX”告诉您,您应该寻找一个名为“ libXXX-dev”之类的库。

In this case I would install libblas-dev and perhaps also liblapack-dev , as explained here . 在这种情况下,我将安装libblas-devliblapack-dev如此处所述

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

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