Skip to content

ldd 版本

若当前系统的 ldd 版本过低时,运行软件可能会出现错误:/lib64/libc.so.6: version 'GLIBC_2.32' not found

shell
ldd --version
shell
ldd --version | head -n 1 | awk '{print $NF}'
shell
ldd xxx

Docker 镜像

镜像ldd 版本(纯数字)ldd 版本年份
openanolis/anolisos:7.9-x86_642.17ldd (GNU libc) 2.172012
openanolis/anolisos:8.2-x86_642.28ldd (GNU libc) 2.282018
openanolis/anolisos:8.4-x86_642.28ldd (GNU libc) 2.282018
openanolis/anolisos:8.6-x86_642.28ldd (GNU libc) 2.282018
openanolis/anolisos:8.82.28ldd (GNU libc) 2.282018
openanolis/anolisos:232.36ldd (GNU libc) 2.362022
debian:9.132.24ldd (Debian GLIBC 2.24-11+deb9u4) 2.242016
debian:10.132.28ldd (Debian GLIBC 2.28-10+deb10u2) 2.282018
debian:11.82.31ldd (Debian GLIBC 2.31-13+deb11u7) 2.312020
debian:12.42.36ldd (Debian GLIBC 2.36-9+deb12u3) 2.362022
ubuntu:12.042.15ldd (Ubuntu EGLIBC 2.15-0ubuntu10.18) 2.152012
ubuntu:14.042.19ldd (Ubuntu EGLIBC 2.19-0ubuntu6.15) 2.192014
ubuntu:15.102.21ldd (Ubuntu GLIBC 2.21-0ubuntu4.3) 2.212015
ubuntu:16.042.23ldd (Ubuntu GLIBC 2.23-0ubuntu11.3) 2.232016
ubuntu:17.102.26ldd (Ubuntu GLIBC 2.26-0ubuntu2.1) 2.262017
ubuntu:18.042.27ldd (Ubuntu GLIBC 2.27-3ubuntu1.6) 2.272018
ubuntu:19.102.3ldd (Ubuntu GLIBC 2.30-0ubuntu2.1) 2.302019
ubuntu:20.042.31ldd (Ubuntu GLIBC 2.31-0ubuntu9.14) 2.312020
ubuntu:21.102.34ldd (Ubuntu GLIBC 2.34-0ubuntu3.2) 2.342021
ubuntu:22.042.35ldd (Ubuntu GLIBC 2.35-0ubuntu3.5) 2.352022
ubuntu:23.102.38ldd (Ubuntu GLIBC 2.38-1ubuntu6) 2.382023
ubuntu:24.042.38ldd (Ubuntu GLIBC 2.38-3ubuntu1) 2.382023