[GRASS5] Grass51 and OGR

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

grass-versions:
50 and 51 versions from 2003-05-24 cvs-snaphots

gdal:
1.1.8

Do you have any hints?

Harald

Harald Wehr said:

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

grass-versions:
50 and 51 versions from 2003-05-24 cvs-snaphots

gdal:
1.1.8

Do you have any hints?

No hints, only that with a more recent cvs version I do not have this
problem.

However, the resulting dbf file is unusable since containing only 0's or
different very strange symbols.

Moritz

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