[gdal-dev] ogr2ogr segfault
Ari Jolma
ari.jolma at gmail.com
Tue May 19 04:17:58 PDT 2015
19.05.2015, 14:04, Even Rouault kirjoitti:
> Le mardi 19 mai 2015 13:02:48, Ari Jolma a écrit :
>> 19.05.2015, 13:25, Even Rouault kirjoitti:
>>> ogrinfo strade.shp -dialect sqlite -sql "select spatialite_version()"
>> "no such function" :D
>>
>> It's not finding the SpatiaLite at all. I'm using libsqlite3-0 from
>> ubuntu and libspatialite is now my own compiled. I removed the ubuntu
>> version. ldconfig shows I'm using the new one. I configured and compiled
>> gdal and it finds libspatialite. ldd ogr2ogr (there is only the ogr2ogr
>> I made) shows a link to the new libspatialite.
> Did you "make clean" between your different ./configure attempts ?
ok, that did it. Argh. There should be something in the configure to
force make clean.
Anyway, now
ogr2ogr OUTPUTLAYER.shp strade.shp -dialect sqlite -sql "SELECT
ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade'"
works fine.
My gdal is from trunk, updated maybe last week.
Ari
>
>> Ari
More information about the gdal-dev
mailing list