[GRASSLIST:8244] Installation errors

Hi all,

I've just installed on a DELL sever with Fedora the GRASS binaries for Fedora Core 3, but GRASS is not working properly:

When it starts d.m I receive the following error:

  > d.m&

  > Error in startup script: ps.map: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
     while executing
"exec ps.map -p"
     (procedure "DmPrint::init" line 14)
     invoked from within
"DmPrint::init"
     (procedure "main" line 32)
     invoked from within
"main $argc $argv"
     (file "/usr/local/grass6.0.0-i686-pc-linux-gnu-14_03_2005/etc/dm/d.m.tcl" line 894)

[1]+ Exit 1 d.m

Similar error with nviz

  > nviz
nviz: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory

Any solution?

Thanks, Giacomo

************************************************
   Giacomo Bertoldi
   Dept. of Civil and Environmental Engineering
   Duke University
************************************************

This might just be a problem with libraries names. search for libgdal.so and make a link to it named libgdal.so.1 in the same directory.

hope this helps

regards

Carlos

On 9/12/05, Giacomo Bertoldi <giacomo.bertoldi@ing.unitn.it> wrote:

Hi all,

I’ve just installed on a DELL sever with Fedora the GRASS binaries for
Fedora Core 3, but GRASS is not working properly:

When it starts d.m I receive the following error:

d.m&

Error in startup script: ps.map: error while loading shared
libraries: libgdal.so.1: cannot open shared object file: No such file
or directory
while executing
“exec ps.map -p”
(procedure “DmPrint::init” line 14)
invoked from within
“DmPrint::init”
(procedure “main” line 32)
invoked from within
“main $argc $argv”
(file
“/usr/local/grass6.0.0-i686-pc-linux-gnu-14_03_2005/etc/dm/d.m.tcl”
line 894)

[1]+ Exit 1 d.m

Similar error with nviz

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

Any solution?

Thanks, Giacomo


Giacomo Bertoldi
Dept. of Civil and Environmental Engineering
Duke University



±----------------------------------------------------------+
Carlos Henrique Grohmann - Guano
Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
±----------------------------------------------------------+

I think setting LD_LIBRARY_PATH to include the library's path may help.

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin
export LD_LIBRARY_PATH

Put the above in your login script to make it always available.

-Chris.

Giacomo Bertoldi wrote:

Hi all,

I've just installed on a DELL sever with Fedora the GRASS binaries for Fedora Core 3, but GRASS is not working properly:

When it starts d.m I receive the following error:

> d.m&

> Error in startup script: ps.map: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
    while executing
"exec ps.map -p"
    (procedure "DmPrint::init" line 14)
    invoked from within
"DmPrint::init"
    (procedure "main" line 32)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass6.0.0-i686-pc-linux-gnu-14_03_2005/etc/dm/d.m.tcl" line 894)

[1]+ Exit 1 d.m

Similar error with nviz

> nviz
nviz: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory

Any solution?

Thanks, Giacomo

************************************************
  Giacomo Bertoldi
  Dept. of Civil and Environmental Engineering
  Duke University
************************************************

Hi Giacomo,

I've just installed on a DELL sever with Fedora the GRASS binaries for
Fedora Core 3, but GRASS is not working properly:

When it starts d.m I receive the following error:
  > d.m&
  >
  > Error in startup script: ps.map: error while loading shared

libraries: libgdal.so.1: cannot open shared object file: No such file
or directory
     while executing
"exec ps.map -p"
     (procedure "DmPrint::init" line 14)
     invoked from within
"DmPrint::init"
     (procedure "main" line 32)
     invoked from within
"main $argc $argv"
     (file
"/usr/local/grass6.0.0-i686-pc-linux-gnu-14_03_2005/etc/dm/d.m.tcl"
line 894)

[1]+ Exit 1 d.m

Similar error with nviz

  > nviz

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

Any solution?

This error can be due to two problems:
1) you forgot to install gdal
2) fedora searches the gdal libraries where they aren't. There are several
ways to solve this. You could search with:
locate libgdal.so.1
where the libs are on your system and link them to a folder where fedora for
sure finds them.

ex. libs is in /usr/local/lib and you link it to /usr/lib

as root:
ln -s /usr/local/lib/libgdal.so.1 /usr/lib/libgdal.so.1

Ciao,
HydroloGIS :slight_smile:

PS: probably if the problem is the second, you will experience the same with
the proj.

Thanks, Giacomo

************************************************
   Giacomo Bertoldi
   Dept. of Civil and Environmental Engineering
   Duke University
************************************************

--
____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
Via Siemens, 19
39100 Bolzano
www.hydrologis.com

Silvia Franceschi
Environmental Engineer
tel: +390471068066
mobile: +393384501332
email: silvia.franceschi@hydrologis.com
____________________________________________________________________________

Thanks it works.
I did, as you suggested:
as root:
ln -s /usr/local/lib/libgdal.so.1 /usr/lib/libgdal.so.1
ln -s /usr/local/lib/libgproj.so.1 /usr/lib/libgproj.so.1

On 13 Sep 2005, at 1:24, Silvia Franceschi wrote:

Hi Giacomo,

I've just installed on a DELL sever with Fedora the GRASS binaries for
Fedora Core 3, but GRASS is not working properly:

When it starts d.m I receive the following error:

d.m&

Error in startup script: ps.map: error while loading shared

libraries: libgdal.so.1: cannot open shared object file: No such file
or directory
     while executing
"exec ps.map -p"
     (procedure "DmPrint::init" line 14)
     invoked from within
"DmPrint::init"
     (procedure "main" line 32)
     invoked from within
"main $argc $argv"
     (file
"/usr/local/grass6.0.0-i686-pc-linux-gnu-14_03_2005/etc/dm/d.m.tcl"
line 894)

[1]+ Exit 1 d.m

Similar error with nviz

nviz

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

Any solution?

This error can be due to two problems:
1) you forgot to install gdal
2) fedora searches the gdal libraries where they aren't. There are several
ways to solve this. You could search with:
locate libgdal.so.1
where the libs are on your system and link them to a folder where fedora for
sure finds them.

ex. libs is in /usr/local/lib and you link it to /usr/lib

as root:
ln -s /usr/local/lib/libgdal.so.1 /usr/lib/libgdal.so.1

Ciao,
HydroloGIS :slight_smile:

PS: probably if the problem is the second, you will experience the same with
the proj.

Thanks, Giacomo

************************************************
   Giacomo Bertoldi
   Dept. of Civil and Environmental Engineering
   Duke University
************************************************

-- ____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
Via Siemens, 19
39100 Bolzano
www.hydrologis.com

Silvia Franceschi
Environmental Engineer
tel: +390471068066
mobile: +393384501332
email: silvia.franceschi@hydrologis.com
____________________________________________________________________________

************************************************
   Giacomo Bertoldi, Ph.D.
   Dept. of Civil and Environmental Engineering
   Duke University
   E-MAIL: bertoldi@duke.edu
   PHONE: +1 919 660 5559
************************************************