[gradsusr] Error reported in the grads installation

王佳钰 wjy_jenifer at mail.dlut.edu.cn
Sun Oct 6 20:42:22 EDT 2019


Dear all,
I have installed g2clib successfully. But when I finished installing all the libraries and finally installed the grads, an error occurred as below:

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 
/public/home/jwchen/wjy/Build_WRF/grads/supplibs/lib/libgrib2c.a(jpcunpack.o): In function `jpcunpack':
/public/home/jwchen/wjy/Build_WRF/grads/supplibs/src/g2clib-1.6.0/jpcunpack.c:61: undefined reference to `dec_jpeg2000'
collect2: ld returned 1 exit status
make[1]: *** [grads] Error 1
make[1]: Leaving directory `/public/home/jwchen/wjy/Build_WRF/grads-2.2.1/src'
make: *** [install-recursive] Error 1

Does anyone know how to solve this problem?
Thank you so much!
Jiayu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20191007/6478e9f4/attachment.html>


More information about the gradsusr mailing list