0

我正在安装软件包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 并搜索 library r-cran-fracdiff。但是,这个库不存在于我的存储库中,并且不知道如何解决这个问题。

任何的想法?

4

1 回答 1

2

“/usr/bin/ld: cannot find -lXXX”告诉你应该寻找一个名为“libXXX-dev”的库。

在这种情况下,我会安装libblas-dev,也许还会安装liblapack-dev如此处所述

于 2019-02-07T21:29:43.330 回答