[R] Problems with SJava instalation

Ronaldo Reis Jr. chrysopa at insecta.ufv.br
Sun Mar 14 11:26:20 CET 2004


Em Sex 05 Mar 2004 10:29, Jean Coursol escreveu:
> On  5 Mar, Ronaldo Reis Jr. wrote:
> > Hi,
> >
> > I'm try to use the SJava package. The install is OK. In R I have this
> > error message:
> >
> > --------------------------
> >
> >> library(SJava)
> >
> > Error in dyn.load(x, as.logical(local), as.logical(now)) :
> >         unable to load shared library
> > "/opt/lib/R/site-library/SJava/libs/SJava.so":
> >   libRSNativeJava.so: cannot open shared object file: No such file or
> > directory
> > Error in library(SJava) : .First.lib failed
> > ---------------------------
> >
> > The R say that file libRSNativeJava.so dont exist, but it exist.
> >
> > ---------------------------
> > [root at zeus Rwork]# ls /opt/lib/R/site-library/SJava/libs/*
> > /opt/lib/R/site-library/SJava/libs/SJava.so
> > /opt/lib/R/site-library/SJava/libs/libRSNativeJava.so
> > ---------------------------
> >
> > When I run the RJava script I have this error:
> >
> > ---------------------------
> > /opt/lib/R/site-library/SJava/scripts/RJava
> > Loading RInterpreter library
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> > RInterpreter in java.library.path
> >         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
> >         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
> >         at java.lang.System.loadLibrary(System.java:832)
> >         at
> > org.omegahat.R.Java.ROmegahatInterpreter.<clinit>(ROmegahatInterpreter.ja
> >va:34) at org.omegahat.R.Java.Examples.JavaRCall.main(JavaRCall.java:11)
> > ---------------------------
> >
> > I'm using GNU/Debian stable/testing with j2sdk 1.4:
> >
> > ---------------------------
> > ii  j2sdk1.4       1.4.1-6        Blackdown Java(TM) 2 SDK, Standard
> > Edition ii  j2sdk1.4-src   1.4.1-6        Blackdown Java(TM) 2 SDK,
> > Standard Edition, ii  j2se-common    1.1            Common facilities for
> > all Java2 Standard Edi ---------------------------
> >
> > What is my problem?
> >
> > Thanks
> > Ronaldo
>
> Executing ldconfig may help.
>
> Jean Coursol

Hi,

I try to execute ldconfig and the SJava dont work. I try to install with 
gcc-3.3 (was gcc-2.95 in my first instalation). Where is the problem?

Thanks
Ronaldo
-- 
If all the world's economists were laid end to end, we wouldn't reach a
conclusion.
		-- William Baumol
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36571-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-2532                 ]
|  /(: :'  :)\ [chrysopa at insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge




More information about the R-help mailing list