<div dir="ltr">Dear ncl-install,<div><br></div><div><div>I need to install NCL and NCAR Graphics for visualization of some of the atmospheric and ocean models I am running. So I installed the pre-combiled binary file appropriate for my system (in this case, I downloaded ncl_ncarg-6.2.1.Linux_RHEL5.10_x86_64_nodap_gcc412.tar.gz). I followed the instructions to install as specified in <a href="https://www.ncl.ucar.edu/Download/install.shtml">https://www.ncl.ucar.edu/Download/install.shtml</a> <br></div><div><br></div><div>I first tested ncl using <span style="color:rgb(0,0,0);font-family:courier;font-size:13px;line-height:16px">ng4ex gsun01n -clean and I got it to work properly. </span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13px;line-height:16px"><br></span></div><div><font color="#000000" face="courier"><span style="line-height:16px">However, when I tried to test NCAR graphics, I ended up with a list of errors. Please see the log below for the error message I received. Would you have any suggestions on how to solve this? </span></font></div><div><br></div><div class="gmail_signature"><div dir="ltr"><br><div><div> ncargex cpex08 -clean</div><div><br></div><div>NCAR Graphics Fortran Example <cpex08></div><div><br></div><div> Copying cpex08.f</div><div><br></div><div> Copying cpexcc.f</div><div><br></div><div>Compiling and linking...</div><div>gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08 cpexcc.f cpex08.f -L/home/bernardo/ncl-6.2.1/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpcldm.o): In function `cpcldm_':</div><div>cpcldm.f:(.text+0x7e5): undefined reference to `_gfortran_copy_string'</div><div>cpcldm.f:(.text+0xa17): undefined reference to `_gfortran_pow_r4_i4'</div><div>cpcldm.f:(.text+0xa86): undefined reference to `_gfortran_pow_r4_i4'</div><div>cpcldm.f:(.text+0xdcf): undefined reference to `_gfortran_copy_string'</div><div>cpcldm.f:(.text+0xe59): undefined reference to `_gfortran_copy_string'</div><div>cpcldm.f:(.text+0xf28): undefined reference to `_gfortran_copy_string'</div><div>cpcldm.f:(.text+0x1014): undefined reference to `_gfortran_copy_string'</div><div>cpcldm.f:(.text+0x10ad): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpcldm.o):cpcldm.f:(.text+0x114f): more undefined references to `_gfortran_copy_string' follow</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cppkcl.o): In function `cppkcl_':</div><div>cppkcl.f:(.text+0x459): undefined reference to `_gfortran_pow_r4_i4'</div><div>cppkcl.f:(.text+0x521): undefined reference to `_gfortran_pow_r4_i4'</div><div>cppkcl.f:(.text+0x553): undefined reference to `_gfortran_pow_r4_i4'</div><div>cppkcl.f:(.text+0x704): undefined reference to `_gfortran_copy_string'</div><div>cppkcl.f:(.text+0x73f): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cppklb.o): In function `cppklb_':</div><div>cppklb.f:(.text+0x4b1): undefined reference to `_gfortran_pow_r4_i4'</div><div>cppklb.f:(.text+0x568): undefined reference to `_gfortran_pow_r4_i4'</div><div>cppklb.f:(.text+0x5ee): undefined reference to `_gfortran_copy_string'</div><div>cppklb.f:(.text+0x607): undefined reference to `_gfortran_copy_string'</div><div>cppklb.f:(.text+0x861): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpseti.o): In function `cpseti_':</div><div>cpseti.f:(.text+0x67): undefined reference to `_gfortran_copy_string'</div><div>cpseti.f:(.text+0x81): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpseti.o):cpseti.f:(.text+0x2e8): more undefined references to `_gfortran_copy_string' follow</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpinit.o): In function `cpinit_':</div><div>cpinit.f:(.text+0x145a): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpinrc.o): In function `cpinrc_':</div><div>cpinrc.f:(.text+0x8d): undefined reference to `_gfortran_pow_r4_i4'</div><div>cpinrc.f:(.text+0xb9): undefined reference to `_gfortran_copy_string'</div><div>cpinrc.f:(.text+0x189): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpnumb.o): In function `cpnumb_':</div><div>cpnumb.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'</div><div>cpnumb.f:(.text+0x41b): undefined reference to `_gfortran_copy_string'</div><div>cpnumb.f:(.text+0x558): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpnumb.o):cpnumb.f:(.text+0x9ca): more undefined references to `_gfortran_copy_string' follow</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(dpgetc.o): In function `dpgetc_':</div><div>dpgetc.f:(.text+0x52): undefined reference to `_gfortran_internal_malloc'</div><div>dpgetc.f:(.text+0x83): undefined reference to `_gfortran_copy_string'</div><div>dpgetc.f:(.text+0x8b): undefined reference to `_gfortran_internal_free'</div><div>dpgetc.f:(.text+0x10a): undefined reference to `_gfortran_copy_string'</div><div>dpgetc.f:(.text+0x16e): undefined reference to `_gfortran_copy_string'</div><div>dpgetc.f:(.text+0x1d2): undefined reference to `_gfortran_copy_string'</div><div>dpgetc.f:(.text+0x23e): undefined reference to `_gfortran_copy_string'</div><div>dpgetc.f:(.text+0x24a): undefined reference to `_gfortran_internal_malloc'</div><div>dpgetc.f:(.text+0x27b): undefined reference to `_gfortran_copy_string'</div><div>dpgetc.f:(.text+0x283): undefined reference to `_gfortran_internal_free'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(dpgetr.o): In function `dpgetr_':</div><div>dpgetr.f:(.text+0x50): undefined reference to `_gfortran_internal_malloc'</div><div>dpgetr.f:(.text+0x81): undefined reference to `_gfortran_copy_string'</div><div>dpgetr.f:(.text+0x89): undefined reference to `_gfortran_internal_free'</div><div>dpgetr.f:(.text+0x5c6): undefined reference to `_gfortran_internal_malloc'</div><div>dpgetr.f:(.text+0x5f7): undefined reference to `_gfortran_copy_string'</div><div>dpgetr.f:(.text+0x5ff): undefined reference to `_gfortran_internal_free'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(dpsetc.o): In function `dpsetc_':</div><div>dpsetc.f:(.text+0x96): undefined reference to `_gfortran_internal_malloc'</div><div>dpsetc.f:(.text+0xc7): undefined reference to `_gfortran_copy_string'</div><div>dpsetc.f:(.text+0xcf): undefined reference to `_gfortran_internal_free'</div><div>dpsetc.f:(.text+0x146): undefined reference to `_gfortran_copy_string'</div><div>dpsetc.f:(.text+0x1a2): undefined reference to `_gfortran_copy_string'</div><div>dpsetc.f:(.text+0x1fe): undefined reference to `_gfortran_copy_string'</div><div>dpsetc.f:(.text+0x277): undefined reference to `_gfortran_copy_string'</div><div>dpsetc.f:(.text+0x283): undefined reference to `_gfortran_internal_malloc'</div><div>dpsetc.f:(.text+0x2b4): undefined reference to `_gfortran_copy_string'</div><div>dpsetc.f:(.text+0x2bc): undefined reference to `_gfortran_internal_free'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(dpsetr.o): In function `dpsetr_':</div><div>dpsetr.f:(.text+0x94): undefined reference to `_gfortran_internal_malloc'</div><div>dpsetr.f:(.text+0xc5): undefined reference to `_gfortran_copy_string'</div><div>dpsetr.f:(.text+0xcd): undefined reference to `_gfortran_internal_free'</div><div>dpsetr.f:(.text+0x7e7): undefined reference to `_gfortran_internal_malloc'</div><div>dpsetr.f:(.text+0x818): undefined reference to `_gfortran_copy_string'</div><div>dpsetr.f:(.text+0x820): undefined reference to `_gfortran_internal_free'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdpbla.o): In function `mdpbla_':</div><div>mdpbla.f:(.text+0x31eb): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdpita.o): In function `mdpita_':</div><div>mdpita.f:(.text+0x3ce): undefined reference to `_gfortran_pow_r8_i4'</div><div>mdpita.f:(.text+0x448): undefined reference to `_gfortran_pow_r8_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdpitm.o): In function `mdpitm_':</div><div>mdpitm.f:(.text+0x3db): undefined reference to `_gfortran_pow_r8_i4'</div><div>mdpitm.f:(.text+0x455): undefined reference to `_gfortran_pow_r8_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdlnam.o): In function `mdlnam_':</div><div>mdlnam.f:(.text+0x98): undefined reference to `_gfortran_internal_malloc'</div><div>mdlnam.f:(.text+0xca): undefined reference to `_gfortran_internal_malloc'</div><div>mdlnam.f:(.text+0xf3): undefined reference to `_gfortran_internal_free'</div><div>mdlnam.f:(.text+0x10b): undefined reference to `_gfortran_copy_string'</div><div>mdlnam.f:(.text+0x113): undefined reference to `_gfortran_internal_free'</div><div>mdlnam.f:(.text+0x185): undefined reference to `_gfortran_internal_malloc'</div><div>mdlnam.f:(.text+0x1b6): undefined reference to `_gfortran_internal_malloc'</div><div>mdlnam.f:(.text+0x1e3): undefined reference to `_gfortran_internal_free'</div><div>mdlnam.f:(.text+0x1ee): undefined reference to `_gfortran_internal_malloc'</div><div>mdlnam.f:(.text+0x216): undefined reference to `_gfortran_internal_free'</div><div>mdlnam.f:(.text+0x23c): undefined reference to `_gfortran_copy_string'</div><div>mdlnam.f:(.text+0x249): undefined reference to `_gfortran_internal_free'</div><div>mdlnam.f:(.text+0x354): undefined reference to `_gfortran_copy_string'</div><div>mdlnam.f:(.text+0x50e): undefined reference to `_gfortran_copy_string'</div><div>mdlnam.f:(.text+0x5a5): undefined reference to `_gfortran_copy_string'</div><div>mdlnam.f:(.text+0x6a6): undefined reference to `_gfortran_copy_string'</div><div>mdlnam.f:(.text+0x70f): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdlnam.o):mdlnam.f:(.text+0xc1c): more undefined references to `_gfortran_copy_string' follow</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdlndr.o): In function `mdlndr_':</div><div>mdlndr.f:(.text+0x81): undefined reference to `_gfortran_internal_malloc'</div><div>mdlndr.f:(.text+0xb0): undefined reference to `_gfortran_internal_malloc'</div><div>mdlndr.f:(.text+0xd9): undefined reference to `_gfortran_internal_free'</div><div>mdlndr.f:(.text+0xf1): undefined reference to `_gfortran_copy_string'</div><div>mdlndr.f:(.text+0xf9): undefined reference to `_gfortran_internal_free'</div><div>mdlndr.f:(.text+0x165): undefined reference to `_gfortran_internal_malloc'</div><div>mdlndr.f:(.text+0x190): undefined reference to `_gfortran_internal_malloc'</div><div>mdlndr.f:(.text+0x1ba): undefined reference to `_gfortran_internal_free'</div><div>mdlndr.f:(.text+0x1c5): undefined reference to `_gfortran_internal_malloc'</div><div>mdlndr.f:(.text+0x1ed): undefined reference to `_gfortran_internal_free'</div><div>mdlndr.f:(.text+0x213): undefined reference to `_gfortran_copy_string'</div><div>mdlndr.f:(.text+0x220): undefined reference to `_gfortran_internal_free'</div><div>mdlndr.f:(.text+0x31e): undefined reference to `_gfortran_copy_string'</div><div>mdlndr.f:(.text+0x4d2): undefined reference to `_gfortran_copy_string'</div><div>mdlndr.f:(.text+0x563): undefined reference to `_gfortran_copy_string'</div><div>mdlndr.f:(.text+0x5d4): undefined reference to `_gfortran_copy_string'</div><div>mdlndr.f:(.text+0x636): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(lbseti.o):lbseti.f:(.text+0x5a): more undefined references to `_gfortran_copy_string' follow</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(plchhq.o): In function `plchhq_':</div><div>plchhq.f:(.text+0x262): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(pcgetc.o): In function `pcgetc_':</div><div>pcgetc.f:(.text+0xbd): undefined reference to `_gfortran_copy_string'</div><div>pcgetc.f:(.text+0x151): undefined reference to `_gfortran_copy_string'</div><div>pcgetc.f:(.text+0x17e): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(pcfopn.o): In function `pcfopn_':</div><div>pcfopn.f:(.text+0x39): undefined reference to `_gfortran_copy_string'</div><div>pcfopn.f:(.text+0xa5): undefined reference to `_gfortran_copy_string'</div><div>pcfopn.f:(.text+0x123): undefined reference to `_gfortran_internal_malloc'</div><div>pcfopn.f:(.text+0x160): undefined reference to `_gfortran_copy_string'</div><div>pcfopn.f:(.text+0x168): undefined reference to `_gfortran_internal_free'</div><div>pcfopn.f:(.text+0x295): undefined reference to `_gfortran_copy_string'</div><div>pcfopn.f:(.text+0x2bd): undefined reference to `_gfortran_copy_string'</div><div>pcfopn.f:(.text+0x2f6): undefined reference to `_gfortran_internal_malloc'</div><div>pcfopn.f:(.text+0x33a): undefined reference to `_gfortran_copy_string'</div><div>pcfopn.f:(.text+0x342): undefined reference to `_gfortran_internal_free'</div><div>pcfopn.f:(.text+0x38d): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(sfsgfa.o): In function `sfsgfa_':</div><div>sfsgfa.f:(.text+0x4c7): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(seter.o): In function `seter_':</div><div>seter.f:(.text+0x31f): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(bcgetr.o): In function `bcgetr_':</div><div>bcgetr.f:(.text+0x25): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(bcsetr.o): In function `bcsetr_':</div><div>bcsetr.f:(.text+0x25): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(icfell.o): In function `icfell_':</div><div>icfell.f:(.text+0x9d): undefined reference to `_gfortran_copy_string'</div><div>icfell.f:(.text+0xb7): undefined reference to `_gfortran_internal_malloc'</div><div>icfell.f:(.text+0xe4): undefined reference to `_gfortran_internal_malloc'</div><div>icfell.f:(.text+0x10a): undefined reference to `_gfortran_internal_free'</div><div>icfell.f:(.text+0x11d): undefined reference to `_gfortran_copy_string'</div><div>icfell.f:(.text+0x125): undefined reference to `_gfortran_internal_free'</div><div>icfell.f:(.text+0x147): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpinrk.o): In function `cpinrk_':</div><div>cpinrk.f:(.text+0x29): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdgetc.o): In function `mdgetc_':</div><div>mdgetc.f:(.text+0x8d): undefined reference to `_gfortran_copy_string'</div><div>mdgetc.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'</div><div>mdgetc.f:(.text+0x12f): undefined reference to `_gfortran_copy_string'</div><div>mdgetc.f:(.text+0x183): undefined reference to `_gfortran_copy_string'</div><div>mdgetc.f:(.text+0x1d6): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdgetc.o):mdgetc.f:(.text+0x226): more undefined references to `_gfortran_copy_string' follow</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdpcem.o): In function `mdpcem_':</div><div>mdpcem.f:(.text+0x42): undefined reference to `_gfortran_internal_malloc'</div><div>mdpcem.f:(.text+0x72): undefined reference to `_gfortran_copy_string'</div><div>mdpcem.f:(.text+0x7a): undefined reference to `_gfortran_internal_free'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdpio.o): In function `mdpio_':</div><div>mdpio.f:(.text+0xe7): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mdpit.o): In function `mdpit_':</div><div>mdpit.f:(.text+0x47a): undefined reference to `_gfortran_pow_r8_i4'</div><div>mdpit.f:(.text+0x4f4): undefined reference to `_gfortran_pow_r8_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(mpdbdi.o): In function `mpdbdi_':</div><div>mpdbdi.f:(.text+0x31): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(plchmq.o): In function `plchmq_':</div><div>plchmq.f:(.text+0x14b): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(plchlq.o): In function `plchlq_':</div><div>plchlq.f:(.text+0x1d9): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpux.o): In function `cpux_':</div><div>cpux.f:(.text+0xc4): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg.a(cpuy.o): In function `cpuy_':</div><div>cpuy.f:(.text+0xc9): undefined reference to `_gfortran_pow_r4_i4'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg_gks.a(gerhnd.o): In function `gerhnd_':</div><div>gerhnd.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg_gks.a(gzgte2.o): In function `gzgte2_':</div><div>gzgte2.f:(.text+0x66): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg_gks.a(gzputs.o): In function `gzputs_':</div><div>gzputs.f:(.text+0x7c): undefined reference to `_gfortran_copy_string'</div><div>gzputs.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'</div><div>gzputs.f:(.text+0x17d): undefined reference to `_gfortran_copy_string'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg_gks.a(gzopwk.o):gzopwk.f:(.text+0x516): more undefined references to `_gfortran_copy_string' follow</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':</div><div>cro.c:(.text+0x4171): undefined reference to `cairo_recording_surface_create'</div><div>/home/bernardo/ncl-6.2.1/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation':</div><div>cro.c:(.text+0x4a90): undefined reference to `cairo_recording_surface_create'</div><div>collect2: error: ld returned 1 exit status</div><div><br></div><div>The compile and link failed.</div></div><div><br></div><div><br></div><div>Thank you very much for your assistance.</div><div><br></div><div>Best regards,</div><div>Lawrrence</div><div><br></div><div><br></div></div></div>
</div></div>