version GLIBC_2.28 not found

简介: version GLIBC_2.28 not found

详细错误:


OpenJDK Runtime Environment (build 1.8.0-uos-arm64-2020_04_23_09_54-45)
OpenJDK 64-Bit Server VM (build 25.242-b45, mixed mode)
./java -jar Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/jdk/lib/aarch64/libnio.so: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /opt/jdk/lib/aarch64/libnio.so)


检查一下:


strings /lib/aarch64-linux-gnu/libc.so.6 | grep GLIBC
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_PRIVATE
GNU C Library (Ubuntu GLIBC 2.23-0kord11k20.3) stable release version 2.23, by Roland McGrath et al.

解决办法:


升级glibc,比如自己编译。

在低版本上重新编译。

目录
相关文章
You need libtool version 1.5.14 or newer to build
You need libtool version 1.5.14 or newer to build
145 0
libtool: Version mismatch error 解决
libtool: Version mismatch error 解决
747 0
|
4月前
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
162 0
|
7月前
|
Python
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
416 0
|
7月前
|
Linux
【linux】报错pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: ‘0.23ubuntu1’
【linux】报错pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: ‘0.23ubuntu1’
|
Linux C++
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found问题解决方法
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found问题解决方法
2164 0
|
编译器 Linux
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
1312 0
libtool: Version mismatch error
libtool: Version mismatch error
107 0
|
编译器 测试技术 C语言
Glibc version `GLIBC_2.17' not found问题解决办法
Glibc version `GLIBC_2.17' not found问题解决办法
680 0