[GRASS-stats] Incompatible library version for module

Markus Neteler neteler at osgeo.org
Fri Jan 2 11:03:32 EST 2009


2009/1/2 Jarek Jasiewicz <jarekj at amu.edu.pl>:
> In fact I didn't use R for two month so maybe I lost something but  after
>  compilation of grass 6.4 svn I tiried to read raster I recive the
> following:

I assume that you did not run
 make distclean
to compile GRASS (see below).

>> library(spgrass6)
> Loading required package: sp
> Loading required package: rgdal
> Geospatial Data Abstraction Library extensions to R successfully loaded
> Loaded GDAL runtime: GDAL 1.5.3, released 2008/09/09
> GDAL_DATA: /usr/local/lib/R/site-library/rgdal/gdal
> Loaded PROJ.4 runtime: Rel. 4.6.1, 21 August 2008
> PROJ_LIB: /usr/local/lib/R/site-library/rgdal/proj
> GRASS GIS interface loaded with GRASS version: 6.4.svn
> and location: Polska
>> r=readRAST6("Polska")
> BŁĄD:Incompatible library version for module

If this occurs, a full GRASS recompile is needed. Official answer
from Glynn:


On Mon, Sep 8, 2008 at 11:10 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
> The error could also be caused by a mismatch between PATH and
> LD_LIBRARY_PATH (or ld.so.cache, etc) if you have more than one
> version of GRASS installed.
>
> Or it could be caused by a module linking against GDAL, where GDAL was
> built against an old version of GRASS. In that case, it's true that
> recompilation is needed, but it would be GDAL that needs
> recompilation.

But typically a GRASS recompilation suffices when this message appears.

Markus


More information about the grass-stats mailing list