This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Library error message.
- From: Peter Morgan <petermorgan at grapevine dot net dot au>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 20 Jan 2008 22:43:13 +1100
- Subject: Library error message.
- Reply-to: petermorgan at grapevine dot net dot au
Hi
I am getting the following error messages when I attempt to run a
fortran 95 test program.
peterm@currawong ~]$ a.out
a.out: error while loading shared libraries: libg2c.so.0: cannot open
shared object file: No such file or directory
The fortran compilation is apparently error less
I have two installations of f95. One down the /opt tree and the other
down the /usr/local tree. Both give the same error message.
My .tcshrc file has the line
set LD_LIBRARY_PATH = ( /usr/local/lib /opt/lib /usr/lib
and the echo $LD_LIBRARY_PATH yields.
[peterm@currawong ~]$ echo $LD_LIBRARY_PATH
/usr/local/lib /opt/lib /usr/lib
Sorry I cannot see my problem so appreciate comments.
Thanks