[Bug driver/27314] ld can't find libgfortran.so.1 on x86-64
--- 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
[Bug driver/27314] ld can't find libgfortran.so.1 on x86-64
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 17:41 --- This works for me and many other people. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Component|fortran |driver http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27314
[Bug driver/27314] ld can't find libgfortran.so.1 on x86-64
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-25 18:38 --- You must be doing something wrong as I know this works for me and many other people. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27314
[Bug driver/27314] ld can't find libgfortran.so.1 on x86-64
--- 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