我是用的是CentOS,版本信息
[work@xxx logs]$ lsb_release -a
LSB Version: :core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Release: 4
Codename: NahantUpdate3
我在启动tomcat的时候失败,catalina.out显示:
“Error: failed /home/work/local/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so, because /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by /home/work/local/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so)”
就是找不到GLIBC_2.4这个版本,于是我查看自己OS拥有的GLIBC的版本。
[work@xxx logs]$ strings /lib64/libc.so.6 |grep GLIBC_
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_PRIVATE
确实没有GLIBC