------- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-04-26 00:56 ------- My experiance has been that if you have gfortran installed from a distribution such as Fedora and you build your own later version of gfortran from source and you do not configure the later version to install in its own place and you do not set LD_LIBRARY_PATH to point to that place, you will get this error.
It tries to use the libary from the distribution which is typically 4.0.x and gives that error. Try: export LD_LIBRARY_PATH=/scr_bar/johan/local/lib Also I am not sure about using commas in the compile command to separate things. Maybe use -rpath /scr_bar.johan/local/lib without that comma in between. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27314