[ncl-install] Install ncl 6.1.0 on CentOS 6.3 i386

Mary Haley haley at ucar.edu
Wed Dec 19 10:44:08 MST 2012


Hi,

I haven't seen these kind of errors before, but my guess is that you indicated that you wanted NetCDF4 support when you ran the ./Configure script, but are linking against NetCDF libraries that weren't compiled with NetCDF 4 support turned on (it's possible to compile NetCDF libraries with both NetCDF3 and NetCDF4 support).

What version of NetCDF are you linking against? Did you compile that version of NetCDF with "--enable-netcdf-4" set?

--Mary

On Dec 19, 2012, at 4:13 AM, 魏士偉 wrote:

> I met an error when compile ncl
> my gcc compiler's version is 4.4.6
> =================================================================
> Execute.o: In function `CallLIST_READ_FILEVAR_OP':
> Execute.c:(.text+0xf8d6): undefined reference to `_getVarNodeFromNclFileGrpNode'
> Execute.c:(.text+0xfd9b): undefined reference to `_getVarNodeFromNclFileGrpNode'
> Symbol.o: In function `_NclReadFileVarCoord':
> Symbol.c:(.text+0x383c): undefined reference to `_getVarNodeFromNclFileGrpNode'
> Symbol.o: In function `_NclReadFileVar':
> Symbol.c:(.text+0x3b4a): undefined reference to `_getVarNodeFromNclFileGrpNode'
> Symbol.o: In function `_NclGetFileVarCoordInfo':
> Symbol.c:(.text+0x404d): undefined reference to `_getVarNodeFromNclFileGrpNode'
> Symbol.o:Symbol.c:(.text+0x43c8): more undefined references to `_getVarNodeFromNclFileGrpNode' follow
> collect2: ld 回傳 1
> make[4]: *** [ncl] Error 1
> make[4]: Leaving directory `/home/weiwilliam/ncl_ncarg-6.1.0/ni/src/ncl'
> ==================================================================
> 
> I search it on internet, but I didn't find the solution.
> Did anyone have this problem??
> Thanks a lot. 
> _______________________________________________
> 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