[ncl-install] Binary install problem on RHEL5

Thomas Mote tmote at uga.edu
Tue May 19 12:09:33 MDT 2009


I have used NCAR Graphics on RHEL5 before, but I wanted
to use NCL. NCL isn't available in the package I installed
on RHEL5, so I removed it ("yum remove ncarg-devel", which
also removed the ncarg package) and tried to install from
the binaries available from ESG.

I can't seem to get it to work. You can see below what I
did. NCL is looking for "sysresfile" in /usr/lib. I believe
the NCARG_ROOT and LD_LIBRARY_PATH environment variables
are set correctly for /usr/local and /usr/local/lib,
respectively. (I also tried putting /usr/local/lib at the
beginning of the LD_LIBRARY_PATH with the same result.)

Any suggestions are appreciated. Thanks!

Tom


[tmote at datoo ~]$ su
Password:
[root at datoo tmote]# cd /usr/local
[root at datoo local]# tar -xf /root/ncl_ncarg-5.1.0.Linux_i686_gcc412.tar
[root at datoo local]# exit
exit


[tmote at datoo ~]$ which ncl
/usr/local/bin/ncl
[tmote at datoo ~]$ echo $NCARG_ROOT
/usr/local
[tmote at datoo ~]$ echo $LD_LIBRARY_PATH
/lib:/usr/lib:/usr/local/lib
[tmote at datoo ~]$ ls /usr/local/lib/ncarg
colormaps  data  database  examples  fontcaps  graphcaps  
grib2_codetables  hluex  nclex  nclscripts  ngwww  resfiles  robj  
sysresfile  tests  tutorial  udunits  xapp


[tmote at datoo ~]$ ncl
 Copyright (C) 1995-2009 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.1.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
warning:Unable to load System Resource File /usr/lib/ncarg/ncarg/sysresfile
warning:WorkstationClassInitialize:Unable to access rgb color database - 
named colors unsupported:[errno=2]
warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap 
directory: /usr/lib/ncarg/ncarg/colormaps
ncl 0> exit


[tmote at datoo ~]$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-libgcj-multifile 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
--enable-java-awt=gtk --disable-dssi --enable-plugin 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
[tmote at datoo ~]$






--
Thomas L. Mote, Professor
Department of Geography
University of Georgia
Athens GA 30602-2502 USA

tel: 706-542-2906
fax: 706-542-2388
lab: 706-542-6060





More information about the ncl-install mailing list