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 shell5a. 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 parsedIt might be a different behavior of ubuntu jaunty at opening new xterm consoles?
Agus Markus Neteler wrote:
2009/9/9 Agustin Lobo <[email protected]>: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, butsystem("g.region -p")g.region: error while loading shared libraries: libgrass_vect.so: cannot open shared object file: No such file or directoryThis 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 [email protected] http://lists.osgeo.org/mailman/listinfo/grass-stats
<<attachment: alobolistas.vcf>>
_______________________________________________ grass-stats mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-stats
