分类: LINUX
2012-12-26 15:43:00
系统:CentOS5.8
环境:glibc-2.5-49.el5_5.7
升级版本:glibc-2.7.tar.gz
下载地址:
[root@dev201 ~]# cd /usr/src/
[root@dev201 src]# tar -zxf glibc-2.7.tar.gz
[root@dev201 src]# cd glibc-2.7
[root@dev201 glibc-2.7]# mkdir -v ../glibc-build
mkdir: created directory `../glibc-build'
[root@dev201 glibc-2.7]# cd ../glibc-build/
[root@dev201 glibc-build]# /usr/src/glibc-2.7/configure --prefix=/usr/
[root@dev201 glibc-build]# make
[root@dev201 glibc-build]# make install
安装完毕后,通过ldd -version再次查看glibc版本,确保安装成功。
ynluliang2015-01-06 16:18:20
你好,我的机器版本是RHEL 5.8_X64位的,怎么我就升级不了呢?
../sysdeps/posix/getaddrinfo.c:70:26: error: libidn/idna.h: No such file or directory
../sysdeps/posix/getaddrinfo.c: In function 'gaih_inet':
../sysdeps/posix/getaddrinfo.c:407: error: 'IDNA_ALLOW_UNASSIGNED' undeclared (first use in this function)
../sysdeps/posix/getaddrinfo.c:407: error: (Each undeclared identifier is reported only once
../sysdeps/posix/getaddrinfo.c:407: error: for