[GRASS-user] error: Incompatible library version for module. You need to rebuild GRASS or untangle multiple installations.

Hi dev's and advanced useRs,

I have seen this message for the X-th time now :frowning: while trying to load
(anything) data using readRAST6 or readVECT6.

I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
as well. Not to mention how many attempts to get "spgrass6".

Which is the "incompatible library" and to which "module" does it refer
to? Is this an R error or a grass error? Any help is *higly*
appreciated.

Kind regards, Nikos

What computer architecture, operating system, what R version etc.?
What is the error message? I am using 6.4RC5 GRASS and R 2.9.1 on mac
OS X 10.5.7, and it is working fine. I remember there being a problem
with something, but I don't remember exactly what. If you were to
provide the error message then maybe it would jog my memory. Also, it
may be a good idea to search the R-sig-geo list archive, as your
problem may have already been solved (assuming it is the same one that
I had).
hth,

Stephen Sefick

On Tue, Jul 28, 2009 at 8:39 PM, Nikos
Alexandris<nikos.alexandris@felis.uni-freiburg.de> wrote:

Hi dev's and advanced useRs,

I have seen this message for the X-th time now :frowning: while trying to load
(anything) data using readRAST6 or readVECT6.

I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
as well. Not to mention how many attempts to get "spgrass6".

Which is the "incompatible library" and to which "module" does it refer
to? Is this an R error or a grass error? Any help is *higly*
appreciated.

Kind regards, Nikos

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

stephen sefick wrote:

What computer architecture, operating system, what R version etc.?

Right, I assume that people know that I am using Ubuntu Jaunty 64-bit, R
2.9.1, latest rpy2, grass-6.4.0svn from source.

What is the error message?

The message is the title of this thread.

I am usingce 6.4RC5 GRASS and R 2.9.1 on mac
OS X 10.5.7, and it is working fine. I remember there being a problem
with something, but I don't remember exactly what. If you were to
provide the error message then maybe it would jog my memory.

Sorry, that's all the prog prints.

Also, it may be a good idea to search the R-sig-geo list archive, as your
problem may have already been solved (assuming it is the same one that
I had).

Before doing countless compilations/installations I filtered the web for
an hour! I've found some similar messages in grass-dev's mailing-list
but nothing specific.

I thought that /etc/ld.so.conf is my problem... and I commented out all
grass-versions but grass-6.4.0svn. I even removed all other
grass-versions, (re-)installed X-times spgrass6 but no luck.

It's the first time I see this message. I also tried to do some
debugging but R requires, I guess, special treatment (meaning other than
gdb, etc.) !?

Nikos

WOW! I don't have a clue. That is nowhere close to the problem that
I had. Sorry if I am asking obvious, or redundant questions. Are you
installing within R, or from the commandline (R CMD install)? I will
help if I can, but I think this may be over my paygrade.
good luck!

Stephen Sefick

On Tue, Jul 28, 2009 at 9:46 PM, Nikos
Alexandris<nikos.alexandris@felis.uni-freiburg.de> wrote:

stephen sefick wrote:

What computer architecture, operating system, what R version etc.?

Right, I assume that people know that I am using Ubuntu Jaunty 64-bit, R
2.9.1, latest rpy2, grass-6.4.0svn from source.

What is the error message?

The message is the title of this thread.

I am usingce 6.4RC5 GRASS and R 2.9.1 on mac
OS X 10.5.7, and it is working fine. I remember there being a problem
with something, but I don't remember exactly what. If you were to
provide the error message then maybe it would jog my memory.

Sorry, that's all the prog prints.

Also, it may be a good idea to search the R-sig-geo list archive, as your
problem may have already been solved (assuming it is the same one that
I had).

Before doing countless compilations/installations I filtered the web for
an hour! I've found some similar messages in grass-dev's mailing-list
but nothing specific.

I thought that /etc/ld.so.conf is my problem... and I commented out all
grass-versions but grass-6.4.0svn. I even removed all other
grass-versions, (re-)installed X-times spgrass6 but no luck.

It's the first time I see this message. I also tried to do some
debugging but R requires, I guess, special treatment (meaning other than
gdb, etc.) !?

Nikos

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

On Tue, 2009-07-28 at 22:06 -0500, stephen sefick wrote:

WOW! I don't have a clue. That is nowhere close to the problem that
I had. Sorry if I am asking obvious, or redundant questions. Are you
installing within R, or from the commandline (R CMD install)?

From within R with root access (e.g. sudo R, then the rest).

  I will
help if I can, but I think this may be over my paygrade.
good luck!

Thanks for your concern Stephen.
Kind regards, Nikos

Nikos,
I am sorry I couldn't be of more help. When you resolve the issue
would you mind telling me what you found. My interest is peaked.

Stephen Sefick

On Tue, Jul 28, 2009 at 10:35 PM, Nikos
Alexandris<nikos.alexandris@felis.uni-freiburg.de> wrote:

On Tue, 2009-07-28 at 22:06 -0500, stephen sefick wrote:

WOW! I don't have a clue. That is nowhere close to the problem that
I had. Sorry if I am asking obvious, or redundant questions. Are you
installing within R, or from the commandline (R CMD install)?

>From within R with root access (e.g. sudo R, then the rest).

I will
help if I can, but I think this may be over my paygrade.
good luck!

Thanks for your concern Stephen.
Kind regards, Nikos

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

In two words - You are running module compiled for different GRASS
version than one You are running. Recompile affected module OR, if You
have multiple GRASS installations, fix Your LD_LIBRARY_PATH paths.

Maris.

2009/7/29, Nikos Alexandris <nikos.alexandris@felis.uni-freiburg.de>:

Hi dev's and advanced useRs,

I have seen this message for the X-th time now :frowning: while trying to load
(anything) data using readRAST6 or readVECT6.

I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
as well. Not to mention how many attempts to get "spgrass6".

Which is the "incompatible library" and to which "module" does it refer
to? Is this an R error or a grass error? Any help is *higly*
appreciated.

Kind regards, Nikos

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Nikos Alexandris wrote:

Hi dev's and advanced useRs,

I have seen this message for the X-th time now :frowning: while trying to load
(anything) data using readRAST6 or readVECT6.

I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
as well. Not to mention how many attempts to get "spgrass6".

Which is the "incompatible library"

libgrass_gis

and to which "module" does it refer to?

Whatever is calling G_gisinit().

Is this an R error or a grass error? Any help is *higly*
appreciated.

It means that something was compiled using <grass/gis.h> from one
version of GRASS, but when run it uses libgrass_gis from a different
version.

It may be a problem with R. It can also be caused by a GDAL library
(or GDAL-GRASS plugin) which was built with GRASS support. You might
want to try using gdalinfo on a GRASS dataset to confirm or deny this
possibility.

--
Glynn Clements <glynn@gclements.plus.com>

On Wed, 2009-07-29 at 11:23 +0100, Glynn Clements wrote:

Nikos Alexandris wrote:

> Hi dev's and advanced useRs,
>
> I have seen this message for the X-th time now :frowning: while trying to load
> (anything) data using readRAST6 or readVECT6.
>
> I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
> as well. Not to mention how many attempts to get "spgrass6".
>
> Which is the "incompatible library"

libgrass_gis

> and to which "module" does it refer to?

Whatever is calling G_gisinit().

> Is this an R error or a grass error? Any help is *higly*
> appreciated.

It means that something was compiled using <grass/gis.h> from one
version of GRASS, but when run it uses libgrass_gis from a different
version.

It may be a problem with R. It can also be caused by a GDAL library
(or GDAL-GRASS plugin) which was built with GRASS support. You might
want to try using gdalinfo on a GRASS dataset to confirm or deny this
possibility.

Thanks. It's, like most of the times, my ignorance on how to deal with
compiling/installing issues.

I guess you are Glynn. gdalinfo segfaults when trying to "query" a grass
raster (under cellhd).

Kind regards, Nikos

Nikos Alexandris:

> Hi dev's and advanced useRs,
>
> I have seen this message for the X-th time now :frowning: while trying to load
> (anything) data using readRAST6 or readVECT6.
>
> I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
> as well. Not to mention how many attempts to get "spgrass6".
>
> Which is the "incompatible library" and to which "module" does it refer
> to? Is this an R error or a grass error? Any help is *higly*
> appreciated.

Maris Nartiss wrote:

In two words - You are running module compiled for different GRASS
version than one You are running. Recompile affected module OR, if You
have multiple GRASS installations, fix Your LD_LIBRARY_PATH paths.

Thanks Maris, I am learning continuously :wink:

stephen sefick wrote:

Nikos,
I am sorry I couldn't be of more help. When you resolve the issue
would you mind telling me what you found. My interest is peaked.

I am glad you took the time to read my post :slight_smile:
Nikos

On Wed, 2009-07-29 at 03:39 +0200, Nikos Alexandris wrote:

Hi dev's and advanced useRs,

I have seen this message for the X-th time now :frowning: while trying to load
(anything) data using readRAST6 or readVECT6.

I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
as well. Not to mention how many attempts to get "spgrass6".

Which is the "incompatible library" and to which "module" does it refer
to? Is this an R error or a grass error? Any help is *higly*
appreciated.

After so many posts of mine one more wont hurt :-p. Finally it was
gdal-grass (however I want to mention that I got rid of all other
grass-versions but 6.4.0sv).

Thanks, Nikos

Nikos Alexandris pisze:

On Wed, 2009-07-29 at 03:39 +0200, Nikos Alexandris wrote:
  

Hi dev's and advanced useRs,

I have seen this message for the X-th time now :frowning: while trying to load
(anything) data using readRAST6 or readVECT6.

I've rebuild grass-6.4.0svn 2-3 times now. I've re-installed R 2-3 times
as well. Not to mention how many attempts to get "spgrass6".

Which is the "incompatible library" and to which "module" does it refer
to? Is this an R error or a grass error? Any help is *higly*
appreciated.
    
After so many posts of mine one more wont hurt :-p. Finally it was
gdal-grass (however I want to mention that I got rid of all other
grass-versions but 6.4.0sv).

Thanks, Nikos
  

it was mentioned and solved eriler
http://lists.osgeo.org/pipermail/grass-stats/2009-January/000897.html
Jarek

_______________________________________________
grass-stats mailing list
grass-stats@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-stats