Kim....
I think you have to update gdal (1.6.3-2 in ubuntugis-unstable repo)
and maybe use grass 6.4rc5 (ubuntugis)

leo

> library(spgrass6)
Loading required package: sp
Loading required package: rgdal
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.6.3, released 2009/11/19
Path to GDAL shared files: /usr/share/gdal16
Loaded PROJ.4 runtime: Rel. 4.7.1, 23 September 2009
Path to PROJ.4 shared files: (autodetected)
Loading required package: XML
GRASS GIS interface loaded with GRASS version: 6.5.svn
and location: hardtke

Kim Besson escribió:

Ok I reinstalled rgdal
R CMD INSTALL rgdal

And then:
R
library(spgrass6)

Output:
Loading required package: sp
Loading required package: rgdal
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.5.4, released 2009/01/07
Path to GDAL shared files: /usr/share/gdal15
Loaded PROJ.4 runtime: Rel. 4.6.1, 21 August 2008
Path to PROJ.4 shared files: (autodetected)
Loading required package: XML
GRASS GIS interface loaded with GRASS version: 6.4.0svn
and location: North-Carolina

precip30 <- readVECT6("precip_30ynormals", ignore.stderr=TRUE)
ERROR: Incompatible library version for module. You need to rebuild GRASS
       or untangle multiple installations.

Same error. 
I'm running GRASSsvn6.4.0, from latest week, in a Linux Machine with:
rgdal_0.6-10
spgrass6_0.6-15.
R version 2.9.2 (2009-08-24)

Any idea of what might not be compatible?

Thank you
Kim

2010/3/2 Markus Neteler <[email protected]>
2010/3/2 Kim Besson <[email protected]>:
> Ok I have just installed latest GRASS snapshot and I got the following error
>> precip30n <- readVECT6("precip_30ynormals", ignore.stderr=TRUE)
> ERROR: Incompatible library version for module. You need to rebuild GRASS
>        or untangle multiple installations.
> What I would like to know is the versions of R and spgrass6 that I should
> install on my system in order to not get this errors?

You also need to update the GRASS-GDAL plugin.

Markus


_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user



_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to