[GRASS-user] Library problem

I've just downloaded the current Grass 6.2 (compiler produces grass63 as the
executable). I also have updated GDAL and PROJ. Grass configures without
problems and compiles with a single warning of an error in .../proj. I'm
running SuSE 10.1 on an intel based system with a GB of RAM.

Running grass63 resuls in the following message when starting:

"g.region: error while loading shared libraries: libgdal.so.1: cannot open
shared object file: No such file or directory"

libgdal.so.1 exists as an alias for libgdal.so.1.10.0 in /usr/local/lib, so
evidently g.region is looking in the wrong.

I'ld to know how to fix this.

Thanks,
JWDougherty

Le Lundi 4 Décembre 2006 11:37, J Dougherty a écrit :

I've just downloaded the current Grass 6.2 (compiler produces grass63 as
the executable). I also have updated GDAL and PROJ. Grass configures
without problems and compiles with a single warning of an error in
.../proj. I'm running SuSE 10.1 on an intel based system with a GB of RAM.

Running grass63 resuls in the following message when starting:

"g.region: error while loading shared libraries: libgdal.so.1: cannot open
shared object file: No such file or directory"

libgdal.so.1 exists as an alias for libgdal.so.1.10.0 in /usr/local/lib, so
evidently g.region is looking in the wrong.

I'ld to know how to fix this.

Thanks,
JWDougherty

Hi,

You can try to add the path of gdal to /etc/ld.so.conf and run ldconfig after
in root.

Y.
--
Yves Jacolin
---
http://yjacolin.gloobe.org

On Monday 04 December 2006 02:33, Yves Jacolin wrote:

Le Lundi 4 Décembre 2006 11:37, J Dougherty a écrit :
> I've just downloaded the current Grass 6.2 (compiler produces grass63 as
> the executable). I also have updated GDAL and PROJ. Grass configures
> without problems and compiles with a single warning of an error in
> .../proj. I'm running SuSE 10.1 on an intel based system with a GB of
> RAM.
>
> Running grass63 resuls in the following message when starting:
>
> "g.region: error while loading shared libraries: libgdal.so.1: cannot
> open shared object file: No such file or directory"
>
> libgdal.so.1 exists as an alias for libgdal.so.1.10.0 in /usr/local/lib,
> so evidently g.region is looking in the wrong.
>
> I'ld to know how to fix this.
>
> Thanks,
> JWDougherty

Hi,

You can try to add the path of gdal to /etc/ld.so.conf and run ldconfig
after in root.

Y.

Yves,

Thanks for the ideas. The path was already in /etc/ld.so.con. The cure was
running ldconfig. Thank you again.

John