RJava lib error
On Tue, 19 Jun 2001, Vahid Pazirandeh wrote:
Hello all!
I recently install R-1.2.3 and Omegahat SJava pkg
(formely Java pkg) 0.62 and tried running the examples
by issuing "scripts/RJava --example --gui=none" and I
got the following:
Error in dyn.load(x, as.logical(local),
as.logical(now)) :
unable to load shared library
"/usr/lib/R/library/ctest/libs/ctest.so":
ld.so.1:
/usr/java1.2/bin/../jre/bin/../bin/sparc/native_threads/java:
fatal: relocation error: file
/usr/lib/R/library/ctest/libs/ctest.so: symbol MAIN__:
referenced symbol not found
[omegahat->R]
SIGSEGV 11* segmentation violation
I've been trying to figure this problem out for a
while, but I haven't had any luck yet. This occurs
for any R-Java program I run.. i install it onto two
different machines and they both yielded the same
errors:
1) 5.8 Generic sun4u sparc SUNW,Ultra-5_10
2) 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-2
Solaris, right?
Any assistance would be much appreciated.. I am truely a newbie!
Something is wrong with your R build, I think, as on my Solaris 2.7
system MAIN__ is not a symbol in ctest.so.
As a temporary fix, alter R_HOME/library/base/R/Rprofile to omit
.First <- function() {
require("ctest", quietly=TRUE)
}
adn see if this allows you to proceed.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._