[Gdal-dev] GPJ_grass_to_wkt

Steve Halasz debian at adkgis.org
Thu Sep 9 13:07:47 EDT 2004


On Tue, 2004-09-07 at 14:44, Stephan Holl wrote:
> Dear List,
> 
> I am trying to compile GDAL (from CVS) with Radims patch in order to
> read GRASS-Raster with QGIS.
> But unfortunately something went wrong and GDAL does not compile. The
> error is as follows:
> 
> make[1]: Leaving directory `/home/steph/cvs/gdal/ogr/ogrsf_frmts'
> /bin/sh ../libtool --mode=link  g++  ogrinfo.o ../libgdal.la -o ogrinfo
> g++ ogrinfo.o -o .libs/ogrinfo  ../.libs/libgdal.so -L/usr/local/lib
> /usr/local/lib/libgeos -L/home/steph/cvs/ogdi/ogdi
> -L/home/steph/cvs/ogdi/ogdi/lib -logdi31 /usr/lib/libjpeg.so -ltiff
> -lpng -L/home/steph/cvs/grass57_cvs/dist.i686-pc-linux-gnu/lib -lgrass_I
> -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lz -ldl
> -L/usr/lib -lpq../.libs/libgdal.so: undefined reference to
> `GPJ_grass_to_wkt' collect2: ld returned 1 exit status
> make: *** [ogrinfo] Fehler 1
> steph at bim:~/cvs/gdal/ogr >
> 
> when I do 
> ldd ~/cvs/gdal/.libs/libgdal.so
> no unresolved references are shown.
> 

Stephan,

Try adding /home/steph/cvs/grass57_cvs/dist.i686-pc-linux-gnu/lib to
/etc/ld.so.conf and running ldconfig.

Steve






More information about the Gdal-dev mailing list