[ncl-install] ncl: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by ncl)

Mary Haley haley at ucar.edu
Wed Jul 17 09:36:55 MDT 2013


You have a rather old version of gcc.  You downloaded a version of NCL that was compiled with gcc 4.1.2. This
version will not work on your system unless you upgrade your gcc.

Even gcc version 4.1.2 is considered "old" by some standards. I mostly see systems with gcc versions 4.3 or later.

Please upgrade your version of gcc to at least 4.1.2. If you go with a higher version, then you may need to download
a different NCL binary, as we have binaries built with gcc 4.4 and later.

If you are hesitant to upgrade your gcc, then you can still install a newer gcc, but put it in a directory other than "/usr/bin so it
does't overwrite your current gcc.  I highly recommend upgrading, however.

To upgrade gcc, you can use "yum". I'm not sure of the exact package name, but it might be something like this:

yum install gcc412

You may need to use "sudo" in order to execute this command with administrative permissions:

sudo yum install gcc412


--Mary

On Jul 16, 2013, at 6:19 PM, 戴国锟 wrote:

> Hi,
> 
> which gcc
> /usr/bin/gcc
> 
> gcc --version 
> gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> I don't have gfortran.
> 
> uname -a
> Linux node0 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> 
> which ncl
> ~/local/ncl-6.1.2/bin/ncl
> 
> env|grep NCARG
> NCARG_ROOT=/home/daigk/local/ncl-6.1.2
> 
> ncl -V
> ncl: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by ncl)
> 
> 
> I installed "ncl_ncarg-6.1.2.Linux_RHEL5.6_x86_64_gcc412.tar".
> 
> Thanks.
> 
> Dai Guokun
> 
> 
> 2013/7/17 Mary Haley <haley at ucar.edu>
> 
> Hi,
> 
> I don't really have enough information here.
> 
> Which NCL binary did you download?  What version of gcc and gfortran do you have:
> 
>    which gfortran
>    which gcc
>    gcc --version
>    gfortran --version
> 
> What does the following report:
> 
>   uname -a
>   which ncl
>   env | grep NCARG
>   ncl -V
> 
> Thanks,
> 
> --Mary
> 
> On Jul 16, 2013, at 2:57 AM, 戴国锟 wrote:
> 
> > Hi,
> > When I install ncl-6.1.2 on the machine in my group, it always reminds me that
> > "ncl: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by ncl)"
> > How to solve this problem?
> > I don't have the root right. So I put it under /home/local, but I have changed the path in .bashrc.
> > Thanks for your consideration.
> >
> > Dai Guokun
> > _______________________________________________
> > ncl-install mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 
> 



More information about the ncl-install mailing list