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
107 0
libtool: Version mismatch error 解决
libtool: Version mismatch error 解决
666 0
|
2月前
|
Python
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
144 0
|
2月前
|
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问题解决方法
1792 0
libtool: Version mismatch error
libtool: Version mismatch error
82 0
libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT
libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT
106 0
ERROR: libx264 not found
ERROR: libx264 not found
143 0
|
Shell
编译OpenJDK8:Could not find freetype! You need to build a 64-bit version of freetype
编译OpenJDK8:Could not find freetype! You need to build a 64-bit version of freetype
67 0