I am running a program on f30 which requires GFORTRAN_7. When I try to execute it I get the following error
$ ./sammy
./sammy: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory
The first thing I thought of doing was a softlink that will point to libgfortran.so.5 which in my system is in the /usr/lib64/libgfortran.so.5 directory. So I did
The above is probably the best solution. But if one prefers to use a copr repository for fedora, I’ve rebuilt the compat-libgfortan-48 package from RHEL8 for f29+ on x86_64 i386 and aarch64.