plugin and multiple GRASS instalation

3 messages Options
Embed this post
Permalink
Jarosław Jasiewicz

plugin and multiple GRASS instalation

Reply Threaded More More options
Print post
Permalink
Hi
I added and compiled GRASS7 for testing purposes but my main instalation
is grass65.svn. From that moment I have unresolved problem with
grass-gdal plugin in R: Inspite I recomple grass-gdal plugin and
grass65.svn (with make distclean) I have error:

r2=readRAST6("elev", plugin=TRUE)
BŁĄD:Incompatible library version for module. You need to rebuild GRASS
       or untangle multiple installations.
GRASS 6.5.svn (nc_spm_08):~ >

I think (untangle multiple instalation is new in that issue) that it is
conflict between grass7 and 6 libraries
regards to all
Jarek
_______________________________________________
grass-stats mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-stats
Roger Bivand

Re: plugin and multiple GRASS instalation

Reply Threaded More More options
Print post
Permalink
On Tue, 29 Sep 2009, Jarosław Jasiewicz wrote:

> Hi
> I added and compiled GRASS7 for testing purposes but my main instalation is
> grass65.svn. From that moment I have unresolved problem with grass-gdal
> plugin in R: Inspite I recomple grass-gdal plugin and grass65.svn (with make
> distclean) I have error:
>
> r2=readRAST6("elev", plugin=TRUE)
> BŁĄD:Incompatible library version for module. You need to rebuild GRASS
>      or untangle multiple installations.
> GRASS 6.5.svn (nc_spm_08):~ >
>
> I think (untangle multiple instalation is new in that issue) that it is
> conflict between grass7 and 6 libraries
Yes, if there is a plugin built against 5.7, or the 6.5-built plugin is
seeing the 5.7 *.so shared objects, it will complain. I'm not sure that
you can work around this easily - you would need not to use GDAL at all,
I'm afraid, to be sure. My practice would most likely be to have two
different users with local installs of everything and local LD path
variables. The plugin "architecture" is designed for a single environment,
one GDAL and one GRASS only in my experience.

Best wishes,

Roger

> regards to all
> Jarek
> _______________________________________________
> grass-stats mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-stats
>

--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: [hidden email]

_______________________________________________
grass-stats mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-stats
Roger Bivand
Economic Geography Section
Department of Economics
Norwegian School of Economics and Business Administration
Helleveien 30
N-5045 Bergen, Norway
Jarosław Jasiewicz

Re: plugin and multiple GRASS instalation

Reply Threaded More More options
Print post
Permalink


>>  
>
> Yes, if there is a plugin built against 5.7, or the 6.5-built plugin
> is seeing the 5.7 *.so shared objects, it will complain. I'm not sure
> that you can work around this easily - you would need not to use GDAL
> at all, I'm afraid, to be sure. My practice would most likely be to
> have two different users with local installs of everything and local
> LD path variables. The plugin "architecture" is designed for a single
> environment, one GDAL and one GRASS only in my experience.
>
>
I found other temporary solution: export LD_LIBRARY_PATH before starting
grass65 or grass7 and it works but it is not good solution
It rather pity information
best wishes
Jarek
_______________________________________________
grass-stats mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-stats