我正在帮助一个朋友,他们的RiotBoard运行Linaro-Ubuntu,将其设置为Minecraft服务器。我们遇到了同样的错误。我发现的问题是Java正在引用/lib/ld-linux-armhf.so.3
系统上不存在的Java 。当您查看/lib
唯一的加载文件时/lib/ld-linux.so.3
,我只需对其进行软链接即可。以下是我的解决方法以及修复方法。
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# java
-su: /usr/bin/java: No such file or directory
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# strings java
/lib/ld-linux-armhf.so.3
qwwBI
libpthread.so.0
_Jv_RegisterClasses
libjli.so
_ITM_deregisterTMCloneTable
JLI_Launch
__gmon_start__
_ITM_registerTMCloneTable
libdl.so.2
libc.so.6
abort
__libc_start_main
lib.so
$ORIGIN/../lib/arm/jli:$ORIGIN/../lib/arm
SUNWprivate_1.1
GLIBC_2.4
1.8.0_06-b23
java
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# ls /lib/ld*
/lib/ld-linux.so.3
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# ln -s /lib/ld-linux.so.3 /lib/ld-linux-armhf.so.3
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# ls /lib/ld*
/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# java -version
java version "1.8.0_06"
Java(TM) SE Runtime Environment (build 1.8.0_06-b23)
Java HotSpot(TM) Client VM (build 25.6-b23, mixed mode)
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin#