[GRASSLIST:3312] Import with r.in.gdal

Dear list,

I am trying to import raster data with r.in.gdal in GRASS 5.0.3.
I get the following error message:

r.in.gdal: error while loading shared libraries: libpq.so.2: cannot open shared object file: No such file or directory

In the directory /usr/local/grass5/lib I find the packages libpq.so.1 and libpq.so.1.2.

What package do I need to install to get libpq.so.2 ?

Thanks for your help,

Anja

perhaps it (the library) isn't in the system library path... is /usr/local/grass5/lib in your LD_LIBRARY_PATH (environment variable) or /etc/ls.so.conf (or equivalent library loader configuration file)? Di you install pre-compiled binaries that don't have gdal support? Did you install the necessary support libraries to use gdal (see the grass installation documentation)?

Anja Drews wrote:

Dear list,

I am trying to import raster data with r.in.gdal in GRASS 5.0.3.
I get the following error message:

r.in.gdal: error while loading shared libraries: libpq.so.2: cannot open shared object file: No such file or directory

In the directory /usr/local/grass5/lib I find the packages libpq.so.1 and libpq.so.1.2.

What package do I need to install to get libpq.so.2 ?

Thanks for your help,

Anja