<div dir="ltr">Dear NCL Group, <div><br></div><div style="">I also noticed that when I run the following command to test NCAR it will give me the same error as the previous command for my own script I posted before. </div><div style=""><br></div><div style=""><div>[negin@ ~]$ ncargex cpex08 -clean</div><div><br></div><div>NCAR Graphics Fortran  Example &lt;cpex08&gt;</div><div><br></div><div>  Copying cpex08.f</div><div><br></div><div>  Copying cpexcc.f</div><div><br></div><div>Compiling and linking...</div><div>/usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncl-6.3.0/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2</div><div>/usr/bin/ld: cannot find -lXext</div><div>collect2: ld returned 1 exit status</div><div><br></div><div>The compile and link failed.</div><div><br></div><div style="">Regards</div><div style="">Negin</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 2:07 PM, Negin Moghaddam <span dir="ltr">&lt;<a href="mailto:negin.f.moghaddam@gmail.com" target="_blank">negin.f.moghaddam@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"><div dir="ltr">Dear NCL group, <div><br></div><div>I have a problem with running script which is written in NCL/NCAR</div><div><br></div><div>As you can see I tried to run this script but I had an error with the libraries. I have already got the X11 and Xext on my PC and I dont know where the problem is and how to fix it. </div><div><br></div><div>Thank you for your response and help</div><div>Negin</div><div><br></div><div><div>[negin@ Modelling]$ ncargf77 -o plot_points.x plot_points.f</div><div>/usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o plot_points.x plot_points.f -L/usr/local/ncl-6.3.0/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2</div><div>/usr/bin/ld: cannot find -lXext</div><div>collect2: ld returned 1 exit status</div><div><br></div><div>The IT told me to reconfigure ncargf77 but I dont know how to do that? </div><div><br></div><div>Best Regards</div><span class="HOEnZb"><font color="#888888"><div>Negin</div><div><br></div></font></span></div></div>
</blockquote></div><br></div>