Hi all, I ran in to a problem while trying to install RMAGEML package. /usr/bin/ld: cannot find -ljava . (please look at the bottom for details of the error) I have set the following in ~/.bashrc file. export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64 export LD_LIBRARY_PATH=/home/mamun/R-2.9.0/lib64/R/library/rJava/jri:/home/mamun/R-2.9.0/lib64/R/lib:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads My system details: linux version - Fedora 11, java version - java-1.6.0-openjdk-1.6.0.0.x86_64 R-version - 2.9.0 Any suggestion is welcome. thanks in advance. regards, Mamun ********************************************** Details of the problem : ********************************************** rmageml.c: In function updateMAGEML: rmageml.c:599: warning: cast from pointer to integer of different size gcc -std=gnu99 -shared -L/usr/local/lib64 -o RMAGEML.so rmageml.o -L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/jre/lib/amd64 -L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/jre/lib/i386 -ljava -L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/jre/lib/amd64/server -L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/jre/lib/i386/client -ljvm -L/home/mamun/R-2.9.0/lib64/R/lib -lR /usr/bin/ld: cannot find -ljava collect2: ld returned 1 exit status make: *** [RMAGEML.so] Error 1 ERROR: compilation failed for package RMAGEML * Removing /home/mamun/R-2.9.0/lib64/R/library/RMAGEML _________________________________________________________________ Show them the way! Add maps and directions to your party invites. [[alternative HTML version deleted]]