[R] R/SJava/ROracle installation problem

David James dj at research.bell-labs.com
Fri Aug 23 21:31:26 CEST 2002


Hi,

In the case of ROracle it seems you don't have access to
Oracle's runtime shared libraries (perhaps you need to include
$ORACLE_HOME/lib in your LD_LIBRARY_PATH?)  You may want to (re?)read
the files "README" and "INSTALL" in the source package.

Lingyun Shi wrote:
> Hi,
> I had problem during SJava and ROracle installation. I use "R CMD INSTALL
> -c SJava_0.65-0.tar.gz" command to install SJava pakage. After
> installation, I start R session and type library(SJava), error happened as:
> 
> > library(SJava)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>         unable to load shared library
> "/usr/local/lib/R/library/SJava/libs/SJava.so":
>   ld.so.1: /usr/local/lib/R/bin/R.bin: fatal: libRSNativeJava.so: open
> failed: No such file or directory
> Error in library(SJava) : .First.lib failed
> 
> Error also happened after I install ROracle package using command "R CMD
> INSTALL --configure-args='--with-oracle=9' ROracle_0.3-3.tar.gz":
> 
> > library(ROracle)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>         unable to load shared library
> "/usr/local/lib/R/library/ROracle/libs/ROracle.so":
>   ld.so.1: /usr/local/lib/R/bin/R.bin: fatal: relocation error: file
> /usr/local/lib/R/library/ROracle/libs/ROracle.so: symbol sqlcxt: referenced
> symbol not found
> Error in library(ROracle) : .First.lib failed
> 
> Does anyone know why this happened? how to solve this? Many thanks!
> 
> Kate
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
David A. James
Statistics Research, Room 2C-253            Phone:  (908) 582-3082       
Bell Labs, Lucent Technologies              Fax:    (908) 582-3340
Murray Hill, NJ 09794-0636
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list