<span style="color: rgb(0, 0, 153);">Hi,</span><br style="color: rgb(0, 0, 153);"><br><span style="color: rgb(0, 0, 153);">I am using Linux 2.6.31-22-generic #65-Ubuntu SMP Thu Sep 16 15:48:58 UTC 2010 i686 GNU/Linux</span><br style="color: rgb(51, 102, 255);">
<br><span style="color: rgb(0, 0, 153);">I have installed NCAR Command Language Version 5.1.1. When testing the installation the following appears:</span><br style="color: rgb(0, 0, 153);">
<br>carlos@carlos-laptop:~$ ncargex cpex08 <br><br>NCAR Graphics Fortran Example <cpex08><br><br> Copying cpex08.f<br><br> Copying cpexcc.f<br><br>Compiling and linking...<br>gfortran
-fPIC -fno-second-underscore -fno-range-check -o cpex08 cpexcc.f
cpex08.f -L/usr/local/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
-lpng -lz<br>
/usr/bin/ld: cannot find -lpng<br>collect2: ld returned 1 exit status<br><br>The compile and link failed.<br><br><span style="color: rgb(51, 51, 153);">Could you please help me?</span><br style="color: rgb(51, 51, 153);">
<br style="color: rgb(51, 51, 153);"><span style="color: rgb(51, 51, 153);">Thanks in advance,</span><br style="color: rgb(51, 51, 153);"><br style="color: rgb(51, 51, 153);"><span style="color: rgb(51, 51, 153);">Jose</span><br>