I just installed g77 and compiled some program I wrote for a computaional physics class. They also compile / run fine with xlf90 and xlf95 on a mac.
But here, on my intel box I get this error:
[ryan@dogma Desktop]$ ./a.out ./a.out: error while loading shared libraries: libg2c.so.0: cannot map zero-fill pages: Cannot allocate memory
I know there is plenty of RAM available too.
I believe there is a bug with the arch g77 compiler. There is another post elsewhere on this forum about it creating bad executables. Perhhaps find the post see if it sounds familiar then add your error to the bug the member was going to submit.
I am not your friend
Check for Task #2299 — gcc-g77 creates "bad" executables in the bugtracker. The maintainer has posted a gcc-g77 package to test. I will test it tonight but another user said that it corrected a problem with octave about the libg2c.so.0 library.