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

Glynn Clements glynn at gclements.plus.com
Thu Sep 21 12:27:49 EDT 2006


Huidae Cho wrote:

> > > 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
> > 
> > Check if your PATH includes /usr/local/grass6.3.cvs/lib.
> 
> Did I say PATH?  Sorry, it's LD_LIBRARY_PATH.  If you cannot find the path,
> add the following lines to your ~/.profile or ~/.bash_profile:
> 
> LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/grass6.3.cvs/lib"
> export LD_LIBRARY_PATH

Alternatively, add /usr/local/grass6.3.cvs/lib to /etc/ld.so.conf then
run ldconfig (as root).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list