[ncl-install] NCAR Graphics test doesn't work

HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED kevin.havener at us.af.mil
Tue Jun 16 06:11:24 MDT 2015


I untarred the RH6.4_x86-64 binary into my home dir and set my path accordingly.  First question is, is this binary relocatable or does it need to be in a system level directory?  The "ng4ex gsun10 -clean" command works as expected.  However the "ncargex cpex08 -clean" test yields:

<<havenerk at metappdev:~>>$ ncargex cpex08 -clean

>NCAR Graphics Fortran  Example <cpex08>
>
>  Copying cpex08.f
>
>  Copying cpexcc.f

>Compiling and linking...
>/usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08 cpexcc.f cpex08.f -L/home/havenerk/ncl_ncarg-6.3.0/lib -L/usr/X11R6/lib64 ->lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2
>/usr/bin/ld: cannot find -lXext
>collect2: ld returned 1 exit status
>
>The compile and link failed.

But when I do 'locate Xext':

<<havenerk at metappdev:~>>$ locate Xext
>/usr/lib64/libXext.so.6
>/usr/lib64/libXext.so.6.4.0
>/usr/share/doc/libXext-1.3.2
>/usr/share/doc/libXext-1.3.2/AUTHORS
>/usr/share/doc/libXext-1.3.2/COPYING

System is: Linux 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 x86_64 x86_64 x86_64 GNU/Linux

What do I have to do to get NCAR Graphics working?  Is there a resource on the website that I'm missing?


Kevin Havener, DAFC, 14WS/WXED
Comm 828-271-4323; DSN 673-9044
NIPRNet kevin.havener at us.af.mil
SIPRNet kevin.f.havener.civ at mail.smil.mil




More information about the ncl-install mailing list