------- Comment #4 from dr dot johan at gmail dot com 2006-04-26 17:20 ------- ld was trying to load libgfortran.so from $PREFIX/lib, not from $PREFIX/lib64. When linked with -Wl,-rpath,$PREFIX/lib64, libgfortran.so was found at runtime.
So no bug, just inexperience with gfortran on x86-64 on my side. I guess the libraries in $PREFIX/lib are 32 bit? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27314