[GRASS-user] gdal and grass new problem from "is, but isn't" series

Maciej Sieczka tutey at o2.pl
Thu Sep 21 05:41:38 EDT 2006

Jarosław Jasiewicz wrote:
> Hi
> gdal 1.3.2 and 1.3.1 grass 6.3 cvs (newest), Kubuntu 6.06 and ubuntu
> 6.06 with added KDE
> after compilation of gdal over grass (without erros and warnings) when I
> try to run gdalinfo (or some other gdal utilities) message appears:
> gdalinfo: error while loading shared libraries: libgrass_vect.so: cannot
> open shared object     file: No such file or directory
> of course libgrass_vect.so exist in /usr/local/grass6.3.cvs/lib/ as
> symlink to libgrass_vect.cvs.so

I assume your gdal is installed under /usr/local.

Try adding the following 2 lines:


to your /etc/ld.so.conf

Then run ldconfig as root.

/usr/local/lib is for gdal and other libs installed in your /usr/local,
/usr/local/grass-6.3.cvs/lib is for grass 6.3.


More information about the grass-user mailing list