<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, <div><br><div>I am trying to check the NCAR Graphics installation on a Linux machine.</div><div><br></div><div>I have installed NCL from the precompiles binaries following the instructions at <a href="https://www.ncl.ucar.edu/Download/install.shtml">https://www.ncl.ucar.edu/Download/install.shtml</a>. </div><div>NCL version is NCAR Command Language Version <b>6.2.0.</b></div></div><div><b><br></b></div><div><div>I could test the following command successfully. </div><div> <span style="background-color: rgb(255, 255, 255); font-family: courier; font-size: 13px; line-height: 16px;">ng4ex gsun01n -clean</span></div></div><div><span style="background-color: rgb(255, 255, 255); font-family: courier; font-size: 13px; line-height: 16px;"><br></span></div><div><div>However, the test for NCAR Graphics fails. When I try the execute the following: </div><div><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; line-height: 16px; font-family: courier; border-style: solid; border-width: 0px 0px 15px; border-color: transparent; background-color: rgb(255, 255, 255); position: static; z-index: auto;">ncargex cpex08 -clean</pre></div><div>I get error: </div></div><div><div style="margin: 0px; font-family: 'Courier New'; min-height: 20px;"><br></div><div style="margin: 0px; font-family: 'Courier New';"> Copying cpex08.f</div><div style="margin: 0px; font-family: 'Courier New'; min-height: 20px;"><br></div><div style="margin: 0px; font-family: 'Courier New';"> Copying cpexcc.f</div><div style="margin: 0px; font-family: 'Courier New'; min-height: 20px;"><br></div><div style="margin: 0px; font-family: 'Courier New';">Compiling and linking...</div><div style="margin: 0px; font-family: 'Courier New';">gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08 cpexcc.f cpex08.f -L/home/smritip1/NOAA/new_gsi/RHEL-ncl_ncarg-6.2.0/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -liconv -lXrender -lbz2</div><div style="margin: 0px; font-family: 'Courier New';">/home/smritip1/NOAA/new_gsi/RHEL-ncl_ncarg-6.2.0/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':</div><div style="margin: 0px; font-family: 'Courier New';">cro.c:(.text+0x3efd): undefined reference to `cairo_recording_surface_create'</div><div style="margin: 0px; font-family: 'Courier New';">/home/smritip1/NOAA/new_gsi/RHEL-ncl_ncarg-6.2.0/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation':</div><div style="margin: 0px; font-family: 'Courier New';">cro.c:(.text+0x4be5): undefined reference to `cairo_recording_surface_create'</div><div style="margin: 0px; font-family: 'Courier New';">collect2: ld returned 1 exit status</div><div style="margin: 0px; font-family: 'Courier New'; min-height: 20px;"><br></div><div style="margin: 0px; font-family: 'Courier New';">The compile and link failed.</div></div><div style="margin: 0px; font-family: 'Courier New';"><br></div><div style="margin: 0px; font-family: 'Courier New';"><div style="font-family: Helvetica; margin: 0px;">I have already installed libcairo. Could you please guide me how to fix this?</div><div style="font-family: Helvetica; margin: 0px;"><br></div><div style="font-family: Helvetica; margin: 0px;">Thanks,</div><div style="font-family: Helvetica; margin: 0px;">Smriti Prathapan</div></div></body></html>