This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Library error message.


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]