[GRASS-user] solving libgdal.so.1 problem without root permissions

hy everybody,
I would like to do some longer calculation on a computer for which I have an acccount but I do not have the root password.

after installing grass6.2 I got the know error
g.remove: error while loading shared libraries. libgdal.so.1: cannot open shared object file.

I saw the answers to previous posts with:
/etc/ld.so.conf, “ldconfig” as root.

but as I can not access as root how could I overcome the problem?
thx
dziadgba

Hi,

this error means that Your GRASS installation can not access GDAL
library. First You have to check is GDAL/OGR library installed on that
system. Most likely it is not. There are only two solutions then:
1) Ask system administrator to install GDAL/OGR and GRASS;
2) Install GDAL/OGR and GRASS from source in Your home directory and
set up manually all paths (LD_LIBRARY_PATH, PATH).

Maris.

2007/9/11, dziadgba dziadgba <dziadgba@googlemail.com>:

hy everybody,
I would like to do some longer calculation on a computer for which I have an
acccount but I do not have the root password.

after installing grass6.2 I got the know error
g.remove: error while loading shared libraries. libgdal.so.1: cannot open
shared object file.

I saw the answers to previous posts with:
/etc/ld.so.conf, "ldconfig" as root.

but as I can not access as root how could I overcome the problem?
thx
dziadgba

hy,
thanks for help: resolved the problem by installing GDAL and setting:

setenv LD_LIBRARY_PATH “$LD_LIBRARY_PATH”:[path to gdal]/gdal/lib/

bye
dziadgba

2007/9/11, Maris Nartiss <maris.gis@gmail.com>:

Hi,

this error means that Your GRASS installation can not access GDAL
library. First You have to check is GDAL/OGR library installed on that
system. Most likely it is not. There are only two solutions then:

  1. Ask system administrator to install GDAL/OGR and GRASS;
  2. Install GDAL/OGR and GRASS from source in Your home directory and
    set up manually all paths (LD_LIBRARY_PATH, PATH).

Maris.

2007/9/11, dziadgba dziadgba < dziadgba@googlemail.com>:

hy everybody,
I would like to do some longer calculation on a computer for which I have an
acccount but I do not have the root password.

after installing grass6.2 I got the know error
g.remove: error while loading shared libraries. libgdal.so.1: cannot open
shared object file.

I saw the answers to previous posts with:
/etc/ld.so.conf, “ldconfig” as root.

but as I can not access as root how could I overcome the problem?
thx
dziadgba

dziadgba dziadgba wrote:

thanks for help: resolved the problem by installing GDAL and setting:

setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":[path to gdal]/gdal/lib/

beware if $LD_LIBRARY_PATH is empty the above will shorten to
":[path to gdal]/gdal/lib/", and the starting ":" will make it include
the current directory in the path, which could cause weird problems if
working with multiple copies of the libraries or create a minor security
risk.

Hamish