[ncl-install] NCL 5.0.0 ictrans compilation Error

Quang Nguyen quangvnes at yahoo.com
Wed Dec 3 04:27:09 MST 2008


Dear ALL,

I get the following error when installing NCL 5.0.0 with source code.

make[5]: Entering directory `/home/quang/NCL_Setup/ncl_ncarg-5.0.0/ncarview/src/bin/ictrans'
gcc -ansi -fPIC  -O    -o ictrans main.o ../../../.././ncarview/src/lib/libictrans/libictrans.o ../../../.././ncarview/src/lib/libctrans/libctrans.o -L../../../.././ncarview/src/lib/libcgm -lcgm -L../../../.././ncarview/src/lib/libncarg_ras -lncarg_ras                    -L../../../.././common/src/libncarg_c -lncarg_c -L/usr/local/ncarg/lib -L/usr/X11R6/lib -lX11 -lXext   -lmfhdf -ldf -ljpeg -lz -lg2c -lgcc -L/opt/intel/fce/10.1.012/lib -lifort -lm
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
make[5]: *** [ictrans] Error 1

--
I also setup the g2clib as the guidance from http://www.ncl.ucar.edu/Download/build_from_src.shtml

How can I resolve this trouble?
Many thanks.

Nguyen Dang Quang
Vietnam National Center for Hydrometeorological Forecast(NCHMF)
4 Dang Thai Than, Hanoi, VIETNAM
Tel.:84-4-9330942


      


More information about the ncl-install mailing list