[GRASSLIST:689] undefined symbol pj_get_def in r.gdal.in (grass51cvs)

Vincent Schut schut at sarvision.com
Thu Jul 10 09:56:27 EDT 2003


Hi,
I'm trying to get grass51 working. I followed the instructions for cvs 
building, and everything builds fine. I can do the demo tour, also.
However, if I try to use r.in.gdal, I get the following error:

GRASS 5.1.0-cvs:/usr/local/src/grass51cvs/grass51 > r.in.gdal
r.in.gdal: relocation error: 
/usr/local/src/grass51cvs/grass51/dist.i686-pc-linux-gnu/lib/libgrass_gproj.so: 
undefined symbol: pj_get_def

I really really made sure that I have the latest GDAL and proj.4 on my system 
(both from cvs), and no remains of older versions of these. I configured 
grass with:

./configure \
--with-grass50=/usr/local/src/grass51cvs/grass \
--with-postgres-includes=/usr/local/pgsql/include \
--with-postgres-libs=/usr/local/pgsql/lib/ \
--with-freetype \
--with-readline \
--with-proj-includes=/usr/local/src/proj/src \
--with-proj-libs=/usr/local/src/proj/src/.libs \
--with-cxx

and tried several other things for the proj configure options, without any 
difference. Running nm on grasslib_gproj.so shows several other undefined 
symbols, apparently all from the proj lib. Is this normal?
My question: is r.in.gdal supposed to work in 5.1, and if so, how can I solve 
this?

Thanks,
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com




More information about the grass-user mailing list