[GRASS5] r.support
Markus Neteler
neteler at itc.it
Thu Apr 14 17:29:42 EDT 2005
On Thu, Apr 14, 2005 at 01:53:51PM -0700, Brad Douglas wrote:
> On Thu, 2005-04-14 at 17:46 +0200, Markus Neteler wrote:
> > On Thu, Apr 14, 2005 at 07:57:30AM -0700, Brad Douglas wrote:
> > > On Thu, 2005-04-14 at 07:48 +0200, Jachym Cepicky wrote:
> > > [...]
> > > > /usr/bin/ld: warning: libgrass_vask.so, needed by /usr/src/gis/grass/grass51/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not found (try using -rpath or -rpath-link)
> > >
> > > For some reason, your copy of GRASS did not compile/install
> > > libgrass_vask (lib/vask).
> >
> > Brad,
> > did you modify lib/vask/? It's not in CVS yet:
>
> No, I did not modify vask. r.support works for you, right? I imported
> into a clean tree and everything works fine for me.
Unfortunately I also get a segfault...
gdb `which r.support`
r -h
[...]
Program received signal SIGSEGV, Segmentation fault.
0x0012dda9 in G__find_file (element=0x15ee9c "cell", name=0x0, mapset=0x804a495 "")
at find_file.c:43
43 if (*name == 0)
(gdb) bt
#0 0x0012dda9 in G__find_file (element=0x15ee9c "cell", name=0x0, mapset=0x804a495 "")
at find_file.c:43
#1 0x0012dfea in G_find_file (element=0x15ee9c "cell", name=0x0, mapset=0x804a495 "")
at find_file.c:115
#2 0x0012dd58 in G_find_cell (name=0x0, mapset=0x804a495 "") at find_cell.c:64
#3 0x08049919 in main (argc=2, argv=0xbfff8a64) at front.c:62
A string issue? Maybe something like this is better (from r.univar2):
mapset = G_find_cell2 (infile, "");
if (mapset == NULL)
G_fatal_error(_("raster <%s> not found"), infile);
Markus
More information about the grass-dev
mailing list