SUSE11 SP3系统源码升级安装glibc2.18
1、下载源码安装包
glibc-2.18.tar.gz
2、保存以下脚本到setup.sh,或者手动执行install函数里面的脚本
[root@QIANZI-BASE home]# vim setup.sh
#!/bin/bash
NAME=""
VERSION=""
SUFFIX="tar.gz"
SUBJECT=""
SUBNAME=""
function check() {
local check_isok="YES"
echo "********************* Config Checking ***********************"
if [ ! -f "glibc-2.18.tar.gz" ]; then
echo "## check file 'glibc-2.18.tar.gz' ###################### [ NO ]"
check_isok="NO"
else
echo "## check file 'glibc-2.18.tar.gz' ###################### [ YES ]"
fi
if [[ "${check_isok}" == "NO" ]]; then