[ncl-install] ncargex test failed

Li, Lin (Lin) linli at osc.edu
Thu Mar 12 12:47:10 MDT 2015


Hi,

I have a rhel 6 box, installed ncl-6.2.1 binary. ncl test successfully, but ncargex test failed.

 ncargex -areas

NCAR Graphics Fortran  Example <arex01>

  Copying arex01.f

Compiling and linking...
/usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o arex01 arex01.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2
/usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':
cro.c:(.text+0x3efd): undefined reference to `cairo_recording_surface_create'
/usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation':
cro.c:(.text+0x4be5): undefined reference to `cairo_recording_surface_create'
collect2: ld returned 1 exit status

The compile and link failed.

The cairo and cairo-devel rpm are installed on this Linux box.

# rpm -qa | grep cairo
cairo-1.8.8-3.1.el6.x86_64
cairo-1.8.8-3.1.el6.i686
cairo-devel-1.8.8-3.1.el6.x86_64

Is there any other rpm I should install?

Thanks,
Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20150312/13baba13/attachment.html 


More information about the ncl-install mailing list