[R] R-2.7.0 rJava installation failure on x86_64

Nathan Coulter org.r-project at pooryorick.com
Wed Jun 4 00:31:12 CEST 2008

>  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


More information about the R-help mailing list