>  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@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.

Reply via email to