[Bug fortran/27314] New: ld can't find libgfortran.so.1 on x86-64
dr dot johan at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 25 16:18:00 GMT 2006
Red Hat Enterprise Linux WS release 3 (Taroon Update 6) on Opteron:
bar [10:08:42] /baz > cat foo.f90
program foo
end program foo
bar [10:10:01] /baz > gfortran foo.f90 -Wl,-rpath,/scr_bar/johan/local/lib -o
foo
bar [10:10:24] /baz > ./foo
./foo: error while loading shared libraries: libgfortran.so.1: cannot open
shared object file: No such file or directory
bar [10:10:27] /baz > which gfortran
/scr_bar/johan/local/bin/gfortran
bar [10:10:35] /baz > gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/scr_bar/johan/local
--with-gmp=/scr_bar/johan/local --with-mpfr=/scr_bar/johan/local
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.1.0
bar [10:10:43] /baz > strings foo | grep bar
/scr_bar/johan/local/lib
bar [10:11:01] /baz > ls -l /scr_bar/johan/local/lib/libgfortran.so.1
lrwxrwxrwx 1 johan research 20 Apr 25 09:36
/scr_bar/johan/local/lib/libgfortran.so.1 -> libgfortran.so.1.0.0*
bar [10:11:16] /baz > which ld
/usr/bin/ld
bar [10:12:04] /baz > ld -v
GNU ld version 2.14.90.0.4 20030523
bar [10:12:06] /baz >
--
Summary: ld can't find libgfortran.so.1 on x86-64
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dr dot johan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27314
More information about the Gcc-bugs
mailing list