You are not logged in.

#1 2005-03-02 01:22:44

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

error while loading shared libraries: libg2c.so.0

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.

Any ideas?

Offline

#2 2005-03-02 02:29:48

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: error while loading shared libraries: libg2c.so.0

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.


AKA uknowme

I am not your friend

Offline

#3 2005-03-02 16:43:07

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: error while loading shared libraries: libg2c.so.0

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.

Offline

#4 2005-03-02 18:38:39

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: error while loading shared libraries: libg2c.so.0

Yay! See things get dealt with when you file bug reports.


AKA uknowme

I am not your friend

Offline

Board footer

Powered by FluxBB