[Qgis-developer] SDA4PP , fails to detect "iplots/rjava" installation.

Massimo Di Stefano massimodisasha at yahoo.it
Sun Jun 13 10:37:52 EDT 2010



p, li { white-space: pre-wrap; }

tring to run iplot on a Debian SID using the Qgis svn revision number : 13724i had this log :

R library, iplots, could not be loaded.
Please, install 'iplots' package with all dependencies or
use 'Components/R Packages' tool in the SDA4PP menu.


i build Qgis in debug mode, in the shell i can see :
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared library '/usr/lib/R/site-library/rJava/libs/rJava.so':
  libjvm.so: cannot open shared object file: No such file or directory
Error: package 'rJava' could not be loaded
LoadRlib | loadIplot | iplots load error. 


but java is here :
epi at epixbox:~$ locate libjvm.so
/usr/lib/gcj-4.4-10/libjvm.so
/usr/lib/jvm/ia32-java-6-sun-1.6.0.20/jre/lib/i386/client/libjvm.so
/usr/lib/jvm/ia32-java-6-sun-1.6.0.20/jre/lib/i386/server/libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/amd64/client/libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/amd64/server/libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-4.4/lib/libjvm.so
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so
/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64/server/libjvm.so

from R, tring to load "iplots" i have :

R version 2.11.1 (2010-05-31)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(iplots)
Loading required package: rJava
> 


hence from R it seems to works,
please can you help me to learn where the problem is ?

thanks!

Massimo.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100613/f906ada1/attachment.html


More information about the Qgis-developer mailing list