<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dear Specialist,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(1) My new desktop runs Ubuntu 18.04, and the NCL version installed by our ICT people is</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
ncl_ncarg-6.2.0.Linux_Debian7.4_x86_64_gcc472.tar</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I suspect it is not the right one, but I am not sure. What is your opinion?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(2) When I try to compile, I have problems with "iconv" library (I think I have installed it, but it is problematic; when I link it there are other error messages):<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>nca fstream.f<br>
</span>
<div>gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -w -frecord-marker=4 -O4 -o object fstream.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<br>
</div>
<div>/usr/bin/ld: cannot find -liconv<br>
</div>
<div>collect2: error: ld returned 1 exit status</div>
<div><br>
</div>
<div>Can you enlighten me, please, on what I should do with this library, and what is the best way to add it in?</div>
<div><br>
</div>
<div>Many thanks in advance,</div>
<div>Pavel</div>
<div><a href="http://wwwf.imperial.ac.uk/~pberloff/" target="_blank" rel="noopener noreferrer">http://wwwf.imperial.ac.uk/~pberloff/</a></div>
</div>
<br>
</div>
</body>
</html>