[GRASS-dev] Export from GRASS to Postgres

Martin Landa landa.martin at gmail.com
Tue Apr 9 01:06:34 PDT 2013


Hi,

2013/4/9 suprakash maitra <suprakashmaitra at yahoo.com>:
> [user at lab35 ~]$ gdal-config --libs
> -L/usr/local/lib -lgdal

and what says?

$ which gdal-config

> g.version -b (in GRASS 6)
> ./configure  --with-postgres-includes=/opt/PostgreSQL/9.1/include
> --with-postgres-libs=/opt/PostgreSQL/9.1/lib
> --with-freetype-includes=/usr/include/freetype2
> --with-freetype-libs=/usr/lib --with-cxx --with-python --with-fftw
> --with-freetype --with-gdal=/usr/local/bin/gdal-config --with-postgres

is PostgreSQL included in

/usr/local/bin/ogrinfo --formats

?

Seems like that you have two GDAL installations (in /usr and /usr/local).

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list