[GRASS-stats] [Fwd: Re: [R-sig-Geo] Errror with gmeta6()]

Agustin Lobo alobolistas at gmail.com
Wed Sep 9 07:59:25 EDT 2009


Any further help on this list?
Agus
-------- Original Message --------
Subject: Re: [R-sig-Geo] Errror with gmeta6()
Date: Wed, 9 Sep 2009 13:35:55 +0200 (CEST)
From: Roger Bivand <Roger.Bivand at nhh.no>
Reply-To: Roger.Bivand at nhh.no
To: Agustin.Lobo at ija.csic.es
CC: sig-geo <r-sig-geo at stat.math.ethz.ch>
References: <4AA79069.1010101 at gmail.com>

On Wed, 9 Sep 2009, Agustin Lobo wrote:

> Hi!
>
> I've started spgrass6() with no problems
> (I get:
> GRASS GIS interface loaded with GRASS version: 6.4.0RC4
> and location: carlos
>
> but then get an error with gmeta6:
>
>> gmeta6()
> g.region: error while loading shared libraries: libgrass_vect.so: cannot open 
> shared object file: No such file or directory
> Error in if (file.exists(file) == FALSE) if (!missing(asText) && asText ==  :
> argument is of length zero
> Error in parseGRASS(cmd) : g.region not parsed
>
> I'm using R  2.9.1 on ubuntu jaunty and just
> made install.packages("spgrass6")
>
> g.region -p  works fine in the grass console, but
>> system("g.region -p")
> g.region: error while loading shared libraries: libgrass_vect.so: cannot open 
> shared object file: No such file or directory

This will be a "dependency hell" problem between GDAL and GRASS binaries,
probably a stale GRASS GDAL plugin somewhere. It has been seen on Debian
based distributions before, for example:

http://lists.osgeo.org/pipermail/grass-stats/2009-July/001105.html

Most likely you have multiple GDAL and/or GDAL binaries that do not like
each other, and because of the possible reverse dependence in the GDAL
GRASS plugin, they get in each others' way. The grass-stats list may be a
good place to ask too.

Roger

>
> Any idea on how to fix this problem?
> Thanks
> Agus
>

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: alobolistas.vcf
Type: text/x-vcard
Size: 251 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-stats/attachments/20090909/8681d8ae/alobolistas.vcf


More information about the grass-stats mailing list