红旗linux安装32bit依赖库
-
红旗linux安装32bit依赖库
-
lib下载
-
红旗-7.3-lib-32.tar.gz 解压压缩包,根据如下进行操作
-
1.回退glibc(1)查看当前glibc版本[root@192 ~]# rpm -qa | grep glibcglibc-common-2.17-157.axs7.1.x86_64glibc-headers-2.17-260.axs7.5.x86_64compat-glibc-2.12-4.axs7.x86_64glibc-devel-2.17-157.axs7.1.x86_64compat-glibc-headers-2.12-4.axs7.x86_64glibc-2.17-260.axs7.5.x86_64(2)安装对应低版本glibc(以实际环境为准)[root@192 dibanben]# rpm -ivh glibc-2.17-157.axs7.1.x86_64.rpm glibc-headers-2.17-157.axs7.1.x86_64.rpm --force警告:glibc-2.17-157.axs7.1.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID d92a0672: NOKEY准备中... ################################# [100%]正在升级/安装...1:glibc-2.17-157.axs7.1 警告:/etc/nsswitch.conf 已建立为 /etc/nsswitch.conf.rpmnew################################# [ 50%]2:glibc-headers-2.17-157.axs7.1 ################################# [100%](3)卸载高版本glibc(以实际环境为准)[root@192 ~]# rpm -qa | grep glibcglibc-common-2.17-157.axs7.1.x86_64glibc-2.17-157.axs7.1.x86_64glibc-headers-2.17-260.axs7.5.x86_64compat-glibc-2.12-4.axs7.x86_64glibc-headers-2.17-157.axs7.1.x86_64glibc-devel-2.17-157.axs7.1.x86_64compat-glibc-headers-2.12-4.axs7.x86_64glibc-2.17-260.axs7.5.x86_64[root@192 ~]# rpm -e glibc-2.17-260.axs7.5.x86_64 glibc-headers-2.17-260.axs7.5.x86_64 --nodeps[root@192 ~]# rpm -qa | grep glibcglibc-common-2.17-157.axs7.1.x86_64glibc-2.17-157.axs7.1.x86_64compat-glibc-2.12-4.axs7.x86_64glibc-headers-2.17-157.axs7.1.x86_64glibc-devel-2.17-157.axs7.1.x86_64compat-glibc-headers-2.12-4.axs7.x86_642.配置自定义yum源(1)将glibc.tar.gz解压缩(2)删除或移走自带的redflag.repo文件(3)编写glibc.repo[root@192 yum.repos.d]# vim /etc/yum.repos.d/glibc.repo[glibc]name=glibcbaseurl=file:///root/glibcgpgcheck=0enabled=1(4)检查yum源[root@192 ~]# yum repolist已加载插件:fastestmirror, langpacksglibc | 2.9 kB 00:00:00 glibc/primary_db | 24 kB 00:00:00 Loading mirror speeds from cached hostfile源标识 源名称 状态glibc glibc 30repolist: 303.安装glibc.i686包[root@192 ~]# yum install glibc.i6864.查看glibc.i686是否安装成功[root@192 ~]# rpm -qa | grep glibcglibc-common-2.17-157.axs7.1.x86_64glibc-2.17-157.axs7.1.i686glibc-2.17-157.axs7.1.x86_64compat-glibc-2.12-4.axs7.x86_64glibc-headers-2.17-157.axs7.1.x86_64glibc-devel-2.17-157.axs7.1.x86_64compat-glibc-headers-2.12-4.axs7.x86_64
- 红旗-7.6-lib-32.tar.gz 直接使用rpm进行安装
yum -y install glibc-2.17-260.axs7.i686.rpm nss-softokn-freebl-3.36.0-5.axs7.i686.rpm