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

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

regards
Jarek

On Thu, Sep 21, 2006 at 09:25:18AM +0200, 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

Check if your PATH includes /usr/local/grass6.3.cvs/lib.

Huidae

regards
Jarek

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

On Thu, Sep 21, 2006 at 02:28:45AM -0500, Huidae Cho wrote:

On Thu, Sep 21, 2006 at 09:25:18AM +0200, 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

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

Huidae

Huidae

>
> regards
> Jarek
>
> _______________________________________________
> grassuser mailing list
> grassuser@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

Huidae Cho napisa©©(a):

On Thu, Sep 21, 2006 at 02:28:45AM -0500, Huidae Cho wrote:
  

On Thu, Sep 21, 2006 at 09:25:18AM +0200, 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
      

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

Huidae

Huidae

regards
Jarek

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser
      

unfortunatly not :frowning:

On Thu, 21 Sep 2006, [ISO-8859-2] 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

But is /usr/local/grass6.3.cvs/lib included in the directories "seen" by
ldconfig, and have you run ldconfig? I'm afraid that getting the plugins
set up is difficult, even though there is advice on:

http://grass.gdf-hannover.de/wiki/Compile_and_install_GRASS_and_QGIS_with_GDAL/OGR_Plugin
http://casoilresource.lawr.ucdavis.edu/drupal/node/123

Hope this helps,

Roger

regards
Jarek

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand@nhh.no

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:

/usr/local/lib
/usr/local/grass-6.3.cvs/lib

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.

Maciek

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@gclements.plus.com>

Maciej Sieczka napisa³(a):

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:

/usr/local/lib
/usr/local/grass-6.3.cvs/lib

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.

Maciek
  

Thanks, but I tried this
Jarek