Re: [R] R-2.7.0 rJava installation failure on x86_64

From: Nathan Coulter <org.r-project_at_pooryorick.com>
Date: Tue, 03 Jun 2008 22:31:12 +0000


> From: Nathan Coulter
>
> It looks like the command above could use /lib64/libc.so.6, but running "R CMD
> javareconf" shows that JNI linker flags don't contain any entry similar to
> '-L/lib64':

It turns out that /usr/lib64/libc.so is what is needed. I was able to install rJava after adding /usr/lib64 to the JAVA_LIBS and JAVA_LD_LIBRARY_PATH

    env JAVA_LIBS='-L/path/to/x86-64/jdk-1.6.0_06/jre/lib/amd64/server -L/path/to/x86-64/jdk-1.6.0_06/jre/lib/amd64 -L/path/to/x86-64/jdk-1.6.0_06/jre/../lib/amd64 -L -L/usr/java/packages/lib/amd64 -L/usr/lib64 -L/lib -L/usr/lib -ljvm' JAVA_LD_LIBRARY_PATH='/path/to/x86-64/jdk-1.6.0_06/jre/lib/amd64/server:/path/to/x86-64/jdk-1.6.0_06/jre/lib/amd64:/path/to/x86-64/jdk-1.6.0_06/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib:/usr/lib' R-2.7.0 CMD javareconf

-- 
Nathan

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 03 Jun 2008 - 22:33:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 03 Jun 2008 - 23:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive