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

时间:2019-02-07 21:19:29

标签: r linux installation forecast

我正在安装软件包forecast。但是,我遇到了一个永久错误,因为软件包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

通常,当我看到had non-zero exit status时,这是一个告诉我应该去Synaptic并搜索库r-cran-fracdiff的线索。但是,该库不在我的存储库中,并且真的不知道如何解决此问题。

有什么主意吗?

1 个答案:

答案 0 :(得分:2)

“ / usr / bin / ld:找不到-lXXX”告诉您,您应该寻找一个名为“ libXXX-dev”的库。

在这种情况下,我将安装libblas-dev,也许还会安装liblapack-devas explained here