[GRASS-user] gis.m, d.m and nviz failing
Henning Lorenz
henning.lorenz at geo.uu.se
Fri Nov 3 04:36:49 EST 2006
Hi!
There are several posts on the list about gis.m failing at startup.
Unfortunately, I couldn't find a discussion of the reasons and possible
solutions. For me this together with failing d.m and nviz occurs after
an upgrade from Ubuntu 6.06 (glibc 2.3.6) to 6.10 (glibc 2.4.0). This
occurs for grass versions 6.2.0 and 6.3cvs (6.0 works) and is not
dependent on the tcl/tk version (I compiled it against 8.3 and 8.4). Two
of the errors mention problems with gdal. Gdal however is in place and
these errors occur both with the gdal-1.3.1 debian package and
gdal-1.3.2 compiled on my computer (and the respective version of
gdal-grass).
Starting gis.m results in:
> GRASS 6.2.0 (Arctic):~ > gis.m
> GRASS 6.2.0 (Arctic):~ > Error in startup script: can't read
> "parts(n)": no such variable
> while executing
> "MapCanvas::zoom_new $mon $parts(n) $parts(s) $parts(e) $parts(w)
> $parts(nsres) $parts(ewres)"
> (procedure "MapCanvas::zoom_gregion" line 11)
> invoked from within
> "MapCanvas::zoom_gregion $mon"
> (procedure "MapCanvas::create" line 40)
> invoked from within
> "MapCanvas::create"
> (procedure "Gm::startmon" line 11)
> invoked from within
> "Gm::startmon"
> (procedure "Gm::create" line 69)
> invoked from within
> "Gm::create"
> (procedure "main" line 30)
> invoked from within
> "main $argc $argv"
> (file "/usr/local/grass-6.2.0/etc/gm/gm.tcl" line 521)
Starting d.m results in:
> GRASS 6.2.0 (Arctic):~ > d.m
> GRASS 6.2.0 (Arctic):~ > 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 34)
> invoked from within
> "main $argc $argv"
> (file "/usr/local/grass-6.2.0/etc/dm/d.m.tcl" line 1637)
Starting nviz results in:
> GRASS 6.2.0 (Arctic):~ > nviz
> nviz: error while loading shared libraries: libgdal.so.1: cannot open
> shared object file: No such file or directory
Has anybody similar problems and perhaps a solution?
Cheers,
Henning
--
Henning Lorenz
Uppsala University
Department of Earth Sciences
Villavägen 16
752 36 Uppsala
Sweden
phone: +46 (0)18 471 71 61
mobile: +46 (0)733 622 655
fax: +46 (0)18 50 11 10
e-mail: henning.lorenz at geo.uu.se
GnuPG-key:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=index&search=Henning+Lorenz
More information about the grass-user
mailing list