I am currently having an issue with Octave
install in Archlinux.
I am not able to load the current version of Octave 4.2.1
in Arch
. It shows the following message -
/usr/lib/octave/4.2.1/exec/x86_64-pc-linux-gnu/octave-gui: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory
This problem with libgfortran.so.3
is not rare. Here are two similar problems happening in R
1 and 2. If somebody using Octave
on Archlinux
came across this issue, can you share how to resolve it. Thanks.
答案 0 :(得分:1)
从评论中可以看出,需要附加引用问题R v3.4.0-2 unable to find libgfortran.so.3 on Arch的解决方案,因为旧版GCC版本通常安装在Arch Linux中的方式不同。
因此,必须找到安装旧版本的地方,例如
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libgfortran.so.3
(取决于确切的GCC版本)
然后将版本添加到LD_LIBRARY_PATH
,或者将库的symlik从上面的路径转换为/usr/lib64/
。
答案 1 :(得分:0)
我遇到了这个问题,因为我之前安装了来自AUR的 openblas-lapack ,以获得更好的倍频程矩阵乘法性能。将 openblas-lapack 更新到AUR中的最新版本对我来说很有用。