<div dir="ltr"><div class="gmail_default" style="font-size:small">Jeremy,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You may not need this library. Some systems require it and some don&#39;t.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Try editing the $NCARG_ROOT/bin/ncargf77 file (using any UNIX editor) to remove the reference to &quot;-liconv&quot;, and then rerun &quot;ncargex cpex08&quot;.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you get errors after you remove it, please email me the errors.  </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 1:43 PM, Jeremy Winick <span dir="ltr">&lt;<a href="mailto:winickjr@gmail.com" target="_blank">winickjr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I try to compile and execute an example ncarg program on my new<br>
Ubuntu 14.04 system I get the following:<br>
<br>
ncargex cpex08<br>
<br>
NCAR Graphics Fortran  Example &lt;cpex08&gt;<br>
<br>
   Copying cpex08.f<br>
<br>
   Copying cpexcc.f<br>
<br>
Compiling and linking...<br>
gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o<br>
cpex08 cpexcc.f cpex08.f -L/usr/local/ncar/lib -L/usr/X11R6/lib64<br>
-lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig<br>
-lpixman-1 -lfreetype -lexpat -lpng -lz -liconv -lXrender -lbz2<br>
<br>
/usr/bin/ld: cannot find -liconv<br>
collect2: error: ld returned 1 exit status<br>
<br>
The compile and link failed.<br>
<br>
There doesn&#39;t seem to be the library iconv in the Ubuntu 14.04<br>
distribution. It is interesting that there is the command iconv that<br>
converts encoding of given files from one encoding to another, which I<br>
presume is the function that is being used in the ncar graphics routines.<br>
<br>
I have read that I can get this library from ftp to<br>
<a href="http://ftp.gnu.org/gnu/libiconv" target="_blank">ftp.gnu.org/gnu/libiconv</a> where the latest source is libiconv-1.14.tar.gz<br>
with a date of 7 August 2011. If I get this and compile it, where should<br>
it be installed (gnu suggests /usr/local path) to be in the same path as<br>
the other libraries that ncarg uses? Or would it be best, as an add-on<br>
to put in /usr/local path and then just make sure LD_LIBRARY_PATH was<br>
set to find it?<br>
<br>
Thank,<br>
Jeremy<br>
<br>
<br>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
</blockquote></div><br></div>