[GRASS5] Grass51 and OGR

Markus Neteler neteler at itc.it
Wed May 28 09:40:25 EDT 2003


On Wed, May 28, 2003 at 01:46:05PM +0200, Harald Wehr wrote:
> Hi,
> 
> I have a question about the status of "v.out.ogr". I tried to output a 
> vector file to shape and get following error:
> 
> v.out.ogr: relocation error: v.out.ogr: undefined symbol: OGRGetDriverCount
> 
> I used this command:
> v.out.ogr input=strassen type=line dsn=/home/harald/temp layer=test1 field=1

Check if it is defined in your OGR:

cd /ssi0/ssi/neteler/soft/gdal/ogr
grep OGRGetDriverCount *
ogr_api.h:int     CPL_DLL OGRGetDriverCount();
ogr_capi_test.c:    numDrivers = OGRGetDriverCount();

For me it compiles (I am using GDAL from CVS).

Markus




More information about the grass-dev mailing list