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) "ng4ex gsun01n" works well<br>4) "ncl gsun01.ncl" works well<br>
5)" ncargex cpex08 -clean" send this error:<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 -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>