[ncl-install] Cannot find -liconv

Giorgio Graffino giorgio.graffino at alice.it
Tue Jul 22 05:34:05 MDT 2014


Good morning.
I've downloaded NCL (v6.2.0) from the web page 
https://www.earthsystemgrid.org/dataset/ncl.620.html and i've chosen a 
Linux OPeNDAP-enabled version, more exactly the 
_ncl_ncarg-6.2.0.Linux_Debian7.4_x86_64_gcc472.tar.gz_ file, according 
to the guidelines contained in this page 
http://www.ncl.ucar.edu/Download/linux.shtml. I have an Ubuntu system 
(v13.10) with gcc v4.8.1.
After the installation, the test /ng4ex gsun01n -clean/ works well, but 
the test /ncargex cpex08 -clean/ gives the following results

NCAR Graphics Fortran  Example <cpex08>

   Copying cpex08.f

   Copying cpexcc.f

Compiling and linking...
gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o 
cpex08 cpexcc.f cpex08.f -L/usr/local/ncl-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
/usr/bin/ld: impossibile trovare -liconv
collect2: error: ld returned 1 exit status

The compile and link failed.

where "impossibile trovare" means "cannot find".
Unfortunately, I must have NCAR Graphics working on my system... I've 
already installed the libraries suggest in 
http://www.ncl.ucar.edu/Download/linux.shtml and also iconv (v2.17), as 
suggested in 
http://www.ncl.ucar.edu/Support/install_archives/2014/0141.html. I 
failed when I tried to compile the /CPEX08 /program without/-liconv/ and 
to modify any "ncarg" file by myself. Any other suggestions?
Thanks a lot.
Giorgio Graffino



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20140722/be6e9fd9/attachment-0001.html 


More information about the ncl-install mailing list