NCL dependancy on libg2c

From: Simon Wood <simon.wood_at_nyahnyahspammersnyahnyah>
Date: Thu, 1 Mar 2007 23:40:04 +1300 (NZDT)

Hi,

I have recently installed the latest version of NCL
(ncl-4.2.0.a034.Linux_i686_gcc3.tar.gz) on my linux box:
$ uname -a
Linux xxx 2.6.18-gentoo-r2 #11 Fri Feb 16 01:22:53 NZDT 2007 i686 Pentium
III (Coppermine) GenuineIntel GNU/Linux

On the download site it says that this version is for 'NCL 4.2.0.a034
32-bit binary for i686 chips for LINUX (using GNU 3.x or 4.x)', but, when
I try to run NCL I get the following error:

ncl: error while loading shared libraries: libg2c.so.0: cannot open shared
object file: No such file or directory

My understanding is that libg2c is a legacy dependency from gcc3 / g77
days, but as per most modern linux distros Gentoo uses gcc4 (gcc (GCC)
4.1.1 (Gentoo 4.1.1-r3)) which includes gfortran instead of g77 and does
not provide a libg2c library.

What is the expected work around here? How is this distribution supposed
to work for GCC 4.x (which is what I assume 'using GNU 3.x or 4.x' means
in the above description) as is?

I did a quick search of the mail-list archives but the only reference to
this problem was from someone who actually had the libraries sitting on
their machine but not in the default location, unfortunately this is not
the case for me. Anybody else come across this problem?

kind regards

Simon

-- 
Simon Wood
Scientific Programmer
National Institute of Water and Atmospheric Research (NIWA)
simon.wood_at_niwa.co.nz
www.niwa.co.nz
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 01 2007 - 03:40:04 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 01 2007 - 18:02:36 MST