Installation problem, -lncarg library not found

From: Samrat Rao <samrat.rao_at_nyahnyahspammersnyahnyah>
Date: Fri Aug 16 2013 - 05:41:43 MDT

Hi,

I've been trying to install non-opendap NCL 6.1.2 on my CentOS 5.9 desktop.

I've extracted the file in /usr/local/pkgs/ncl_6.1.2 and made the suggested
changes in .bashrc

export NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2
export PATH=$NCARG_ROOT/bin:$PATH

But when i tried: ng4ex gsun01n -clean, the error message is:
Resource directory </usr/share/ncarg/resfiles> does not exist.

The command: env | grep NCARG gives
NCARG_FONTCAPS=/usr/lib64/ncarg/fontcaps
NCARG_GRAPHCAPS=/usr/lib64/ncarg/graphcaps
NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2
NCARG_DATABASE=/usr/lib64/ncarg/database
NCARG_LIB=/usr/lib64/ncarg
NCARG_NCARG=/usr/share/ncarg

So I just added (not recommended I suppose):
NCARG_LIB=$NCARG_ROOT/lib/ncarg
NCARG_FONTCAPS=$NCARG_LIB/fontcaps
NCARG_GRAPHCAPS=$NCARG_LIB/graphcaps
NCARG_DATABASE=$NCARG_LIB/database
NCARG_NCARG=$NCARG_LIB
in my .bashrc

Then ng4ex gsun01n -clean worked correctly, but again ncargex cpex08 -clean
blurts this:
/usr/bin/ld: cannot find -lncarg
collect2: ld returned 1 exit status

What should I do?

-- 
Samrat Rao

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Aug 16 05:41:52 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 21 2013 - 13:54:15 MDT