[GRASS-stats] [Fwd: Re: [R-sig-Geo] Errror with gmeta6()]
Agustin Lobo
alobolistas at gmail.com
Sun Sep 13 14:31:27 EDT 2009
I've upgraded to qgis 1.2.0-2~jaunty1build1
and ligdal1-1.6.0-grass 1.6.0-3~jaunty1
and everything seems to work fine regarding the qgis grass link.
Regarding R - grass:
If I :
1. start qgis
2. start qgis grass plugin
3. open mapset
4.open maptools
5.open grass shell
6. start R
7. require(spgrass6)
8.gmeta6() works fine
but if I
5. open grass shell
5a. open en xterm & (as I've always done, so that I keep an open grass
console)
6 start R in the new xterm
7. require(spgrass6) works fine (and notifies the mapset)
8. gmeta6() does not work:
> 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
It might be a different behavior of ubuntu jaunty at opening new xterm
consoles?
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
> _______________________________________________
> grass-stats mailing list
> grass-stats at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-stats
>
>
-------------- 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/8cfd8f89/alobolistas.vcf
More information about the grass-stats
mailing list