Hi,<br><br>1) I just installed the precomplied version of NCL: ncl_ncarg-5.1.0.Linux_x86_64_gcc411.tar.gz<br>2) I set the paths in my .bashrc<br>3) &quot;ng4ex gsun01n&quot; works well<br>4) &quot;ncl gsun01.ncl&quot; works well<br>
5)&quot; ncargex cpex08 -clean&quot; send this error:<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 -O -o cpex08 cpexcc.f cpex08.f -L/home/santiago/NCARG/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz<br>
/usr/bin/ld: cannot find -lX11<br>/usr/bin/ld: cannot find -lXext<br>/usr/bin/ld: cannot find -lpng<br>/usr/bin/ld: cannot find -lz<br>collect2: ld returned 1 exit status<br><br>The compile and link failed.<br><br>I noticed that I donīt have the /usr/X11R6/lib64 directory....<br>
my libraries: libX11, libXext, libpng and libz are in other directory (/usr/lib/x86_64-linux-gnu), where can I change the directory path (-L/usr/X11R6/lib64)  to my lib directory (/usr/lib/x86_64-linux-gnu)?<br><br>Regards<br>
<br>Santiago Gaja<br>