Reputation: 1680
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.
Upvotes: 2
Views: 601
Reputation: 125
I got this issue because I installed earlier additionally openblas-lapack from AUR for better octave matrix multiplication performance. Updating openblas-lapack to newest version in AUR did the trick for me.
Upvotes: 0
Reputation: 60058
From the comments it became apparent that the solution from the referenced question R v3.4.0-2 unable to find libgfortran.so.3 on Arch needs to be appended, because the way the older GCC versions will be typically installed in Arch Linux is in a different path.
So, one must find, where the older version is installed, like
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libgfortran.so.3
(depending on the exact GCC version)
and then add the version to LD_LIBRARY_PATH
or make a symlik of the library from the above path to /usr/lib64/
.
Upvotes: 1