[GRASSLIST:5377] problems with grass 6.0 beta

Greetings,
I just downloaded and compiled grass-6.0.0beta1. At first I got configure errors because gdal libraries couldn't be found. After I installed gdal 1.2.5 (without grass support because no matter what directories I specified, it couldn't find the grass libraries), there were no errors after configure and make. When I started grass60, it loaded the initial tcl menu where I chose my mapset but then I got the following error:

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 31)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.0.0beta1/etc/dm/d.m.tcl" line 890)

The puzzling thing is the shared library libgdal.so.1 seems to be alive and well. Can anyone tell me how to fix this? I looked in the files indicated but I don't know enough to know what really went wrong. Thanks in advance for any advice.
-Andy.

On Sat, 15 Jan 2005, Andy Bernat wrote:

Greetings,
I just downloaded and compiled grass-6.0.0beta1. At first I got
configure errors because gdal libraries couldn't be found. After I
installed gdal 1.2.5 (without grass support because no matter what
directories I specified, it couldn't find the grass libraries), there
were no errors after configure and make. When I started grass60, it
loaded the initial tcl menu where I chose my mapset but then I got the
following error:

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 31)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.0.0beta1/etc/dm/d.m.tcl" line 890)

The puzzling thing is the shared library libgdal.so.1 seems to be alive
and well. Can anyone tell me how to fix this? I looked in the files
indicated but I don't know enough to know what really went wrong.
Thanks in advance for any advice.

This is a Linux system, isn't it?

Does "alive and well" mean that it is in /usr/local/lib, or that it is in
/usr/local/lib (or wherever) and that directory is in /etc/ld.so.conf and
you've run ldconfig since installing gdal (sorry if this is obvious, but
it's a hole lots of us fall into, even if we do know better)? Editing
/etc/ld.so.conf and running ldconfig are for root. Does running gdalinfo
from the shell prompt work:

$ gdalinfo --version
GDAL 1.2.5.0, released 2004/11/22

for example?

Good luck,

Roger

-Andy.

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

Roger,
Thanks for the excellent advice. After editting ld.so.conf and running ldconfig everything worked fine
Best regards,
Andy Bernat

Roger Bivand wrote:

On Sat, 15 Jan 2005, Andy Bernat wrote:

Greetings,
I just downloaded and compiled grass-6.0.0beta1. At first I got configure errors because gdal libraries couldn't be found. After I installed gdal 1.2.5 (without grass support because no matter what directories I specified, it couldn't find the grass libraries), there were no errors after configure and make. When I started grass60, it loaded the initial tcl menu where I chose my mapset but then I got the following error:

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 31)
   invoked from within
"main $argc $argv"
   (file "/usr/local/grass-6.0.0beta1/etc/dm/d.m.tcl" line 890)

The puzzling thing is the shared library libgdal.so.1 seems to be alive and well. Can anyone tell me how to fix this? I looked in the files indicated but I don't know enough to know what really went wrong. Thanks in advance for any advice.
   
This is a Linux system, isn't it?

Does "alive and well" mean that it is in /usr/local/lib, or that it is in /usr/local/lib (or wherever) and that directory is in /etc/ld.so.conf and you've run ldconfig since installing gdal (sorry if this is obvious, but it's a hole lots of us fall into, even if we do know better)? Editing /etc/ld.so.conf and running ldconfig are for root. Does running gdalinfo from the shell prompt work:

$ gdalinfo --version
GDAL 1.2.5.0, released 2004/11/22

for example?

Good luck,

Roger

-Andy.

Greetings,
I'm trying to use NVIZ in the latest Grass release but I get the following error whenever I use any of the slider controls for height, zexag, etc.

Error: can't read "Priv(.top2.panelarea.panels.main.midf.height.scale,relief)": no such element in array

The raster displays fine using the display raster command and everything else seems to work. There were no errors when I complied. Does anyone have any ideas about how I can fix this? I'm running SuSE 9.0 with tcltk 8.4
Regards,
Andy Bernat