[ncl-install] could not build NCL

Andrew Mai mai at ucar.edu
Fri Feb 7 04:03:38 MST 2014


On 02/06/2014 11:49 PM, sangeeta maharjan wrote:

> Andy, where should I change  "-L/usr/X11R6/lib64" to "-L/usr/lib64" ? No idea.
>
> >>Compiling and linking...
> >>gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f
> >>-L/usr/local/NCL/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c
> >>-lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng
> >>-lz -lpthread -lbz2 -lXrender

You could run the above command by hand yourself at the shell prompt, changing it there:

% gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/NCL/lib -L/usr/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lbz2 -lXrender
  


That only solves the problem for one instance. I do not know where to change things to make this 
automatic and permanent.

Andy


More information about the ncl-install mailing list