64位ubuntu12.04安装rJava的艰辛之路

出现error: unable to load shared object '/some/dir/rJava/libs/rJava.so': libjvm.so: cannot open shared object file: No such file or directory问题的解决方案:

$sudo updatedb
$locate libjvm.so
/usr/lib/debug/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
/usr/lib/debug/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/zero/libjvm.so
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/zero/libjvm.so
$sudo ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib/ 

/usr/lib目录纺织的是,执行文件所需的函数库。usr是UNIX Software Resource的缩写,是UNIX 操作系统软件资源所放置的目录。

你可能感兴趣的:(64位ubuntu12.04安装rJava的艰辛之路)