<p>
        Dear all,<br>
I have installed g2clib successfully. But when I finished installing all the libraries and finally installed the grads, an error occurred as below:<br>
<br>
gcc   -fPIC -rdynamic  -L/public/home/jwchen/wjy/Build_WRF/grads/supplibs/lib  -o grads grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxdb.o gxwmap.o gxshad.o gxshad2.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o gatxt.o galloc.o gaddes.o gacfg.o gaio.o gauser.o gasdf.o bufrstn.o gabufr.o gabufrtbl.o   -L/public/home/jwchen/wjy/Build_WRF/grads/supplibs/lib     -lreadline -lncurses -lgrib2c -ljasper -lpng15 -lz -lmfhdf -ldf -ljpeg -lz -ludunits   -ltiff -lgeotiff -lshp   -ldl  -lm  <br>
/public/home/jwchen/wjy/Build_WRF/grads/supplibs/lib/libgrib2c.a(jpcunpack.o): In function `jpcunpack':<br>
/public/home/jwchen/wjy/Build_WRF/grads/supplibs/src/g2clib-1.6.0/jpcunpack.c:61: undefined reference to `dec_jpeg2000'<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [grads] Error 1<br>
make[1]: Leaving directory `/public/home/jwchen/wjy/Build_WRF/grads-2.2.1/src'<br>
make: *** [install-recursive] Error 1
</p>
<p>
        Does anyone know how to solve this problem?<br>
Thank you so much!<br>
Jiayu
</p>