https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68268
--- Comment #9 from kargl at gcc dot gnu.org --- (In reply to isearcher from comment #8) > Now here is a new problem. Gfortran can now produce the a.out, but when i > run ./a.out, there is an error: > > ./a.out: error while loading shared libraries: libgfortran.so.3: cannot open > shared object file: No such file or directory > > Ahy sugguestions? GCC bugzilla is not a user support forum. Post to gcc-help with questions of this nature. The answer to your question lies in the ldconfig documentation.