Error incompatible library version for module

From GRASS-Wiki
Revision as of 19:20, 7 October 2010 by Neteler (talk | contribs) (new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Q: Running GRASS, I get this error message:

  "ERROR: Incompatible library version for module. You need to rebuild GRASS
          or untangle multiple installations"

What's that? What should I do?

A: Likely you have a self-compiled GRASS version (which is fine). So? When doing update from SVN which contains a change in the core GIS library, and a subsequent recompilation without having run "make distclean" before, this error is issued to avoid incompatibility problems.

Solution

Prepare and recompile your source code copy in this way:

 make distclean
 svn up
 ./configure ...
 make
 make install

Note: If you use the GDAL-GRASS plugin then also recompile and reinstall it - "just to be sure".