Tim Wesemann on 24 Nov 2004 14:20:04 -0000 |
Not quite on topic, (compiling fortran on solaris...) but I'll give it a whirl... It could be just as simple as adjusting your $LD_LIBRARY_PATH env var so that it includes /usr/local/lib via: "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" before compiling (assuming of course that you're using bash and /usr/local/lib/libg2c.so.0 really does exist)... Might want to check out the man page for crle as well. -- Tim Wesemann ----- Original Message ----- From: <cuitao@2000.cug.edu.cn> To: <plug@lists.phillylinux.org> Sent: Wednesday, November 24, 2004 8:41 AM Subject: [PLUG] help[f77 complier error] Dear Sir, Excuse me. I am sorry for my liberty. Now, I have a same problem with you which you have face it. I think you maybe have solved it. Could you give me a help? The problem is: If I use g77 on unix, i get the following message. If i want to run the program: ld.so.1: a.out: fatal: libg2c.so.0: open failed: No such file or directory. My OS is sun solaris8 and the complier is gcc3.4.2 which I install it recently. Maybe there is not the libg2c.so.0, but I find it in the /usr/local/lib.How can I solve this problem?
|
|