I tried compiling a simple Fortran program, and got a lot of errors,such as:
Undefined reference to `_gfortran_st_write'
Investigating, I found there is no libgfortran.so.
So creating a link to libgfortran.so.5.0.0 fixes the problem.
Distro maintainers need to fix this.