[ncl-install] could not build NCL
Mary Haley
haley at ucar.edu
Fri Feb 7 16:36:49 MST 2014
Sangeeta,
As Andy said, you can do it on the command line.
Or, you can edit $NCARG_ROOT/bin/ncargf77 and $NCARG_ROOT/bin/ncargf90 using a UNIX editor like "vi" or "emacs" and change the line:
set syslibdir = "-L/usr/X11R6/lib64"
to:
set syslibdir = "-L/usr/lib64"
However, in general, I would think your system should be automatically searching in /usr/lib64 for system libraries.
--Mary
On Feb 7, 2014, at 4:03 AM, Andrew Mai <mai at ucar.edu> wrote:
> 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
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
More information about the ncl-install
mailing list