[GRASS-stats] [Fwd: Re: [R-sig-Geo] Errror with gmeta6()]
Agustin Lobo
alobolistas at gmail.com
Sun Sep 13 16:02:05 EDT 2009
Markus,
gemeta6() works fine from any xterm console created
from the grass console after changing
/usr/lib/grass/lib
to
/usr/lib/grass64/lib
in grass.conf
as you suggested.
I don't remember having made grass.conf though, is there any way
for the installation to actually take place of this change of
the grass directory name?
Thanks!
Agus
Markus Neteler wrote:
> 2009/9/9 Agustin Lobo <alobolistas at gmail.com>:
>> Any further help on this list?
>> Agus
>> 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,
>
> I suspect that instead the LD link to the GRASS libraries is missing. I have
> a file (create as root):
>
> # something like this (adapt path):
> cat /etc/ld.so.conf.d/grass.conf
> /usr/local/grass640/dist.x86_64-unknown-linux-gnu/lib
>
> The program "ldconfig" needs to be run afterwards.
>
> Hope this helps
> Markus
>
-------------- 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/20090913/3f14bdb8/alobolistas.vcf
More information about the grass-stats
mailing list