Centos6 升级glibc-2.17,解决Requires: libc.so.6(GLIBC_2.17)(64bit)错误解决方法

这篇具有很好参考价值的文章主要介绍了Centos6 升级glibc-2.17,解决Requires: libc.so.6(GLIBC_2.17)(64bit)错误解决方法。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

在Centos6安装mysql 8.0.33系列提示错误如下:

[root@rhel64 Downloads]# rpm -ivh mysql-community-common-8.0.33-1.el6.x86_64.rpm \
> mysql-community-client-plugins-8.0.33-1.el6.x86_64.rpm \
> mysql-community-client-8.0.33-1.el6.x86_64.rpm \
> mysql-community-libs-8.0.33-1.el6.x86_64.rpm \
> mysql-community-icu-data-files-8.0.33-1.el6.x86_64.rpm \
> mysql-community-server-8.0.33-1.el6.x86_64.rpm 
warning: mysql-community-common-8.0.33-1.el6.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
error: Failed dependencies:
	libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by mysql-community-client-plugins-8.0.33-1.el6.x86_64
	libcrypto.so.10(libcrypto.so.10)(64bit) is needed by mysql-community-client-plugins-8.0.33-1.el6.x86_64
	libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by mysql-community-client-8.0.33-1.el6.x86_64
	libcrypto.so.10(libcrypto.so.10)(64bit) is needed by mysql-community-client-8.0.33-1.el6.x86_64
	libssl.so.10(libssl.so.10)(64bit) is needed by mysql-community-client-8.0.33-1.el6.x86_64
	libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by mysql-community-libs-8.0.33-1.el6.x86_64
	libcrypto.so.10(libcrypto.so.10)(64bit) is needed by mysql-community-libs-8.0.33-1.el6.x86_64
	libssl.so.10(libssl.so.10)(64bit) is needed by mysql-community-libs-8.0.33-1.el6.x86_64
	libcrypto.so.10(OPENSSL_1.0.1)(64bit) is needed by mysql-community-server-8.0.33-1.el6.x86_64
	libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by mysql-community-server-8.0.33-1.el6.x86_64
	libcrypto.so.10(libcrypto.so.10)(64bit) is needed by mysql-community-server-8.0.33-1.el6.x86_64
	libssl.so.10(libssl.so.10)(64bit) is needed by mysql-community-server-8.0.33-1.el6.x86_64
[root@rhel64 Downloads]# ls

2、按照网络上解决办法,按照openssl-libs-1.0.2k-19.el7.x86_64.rpm,报需要libc.so.6(GLIBC_2.17)

[root@rhel64 Downloads]# rpm -ivh  openssl-libs-1.0.2k-19.el7.x86_64.rpm --force
warning: openssl-libs-1.0.2k-19.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
	libc.so.6(GLIBC_2.14)(64bit) is needed by openssl-libs-1:1.0.2k-19.el7.x86_64
	libc.so.6(GLIBC_2.17)(64bit) is needed by openssl-libs-1:1.0.2k-19.el7.x86_64

2、配置centos-base源

备份阿里源配置文件

[wanchao@localhost ~]$  mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/Centos-Base.repo.bak

下载阿里源配置文件(2种方式)

[root@localhost ~]#wget -O /etc/yum.repos.d/CentOS-Base.repo  https://mirrors.aliyun.com/repo/Centos-7.repo

[root@localhost ~]#curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

修改yum配置文件CentOS-Base.repo

[wanchao@localhost ~]$ vim /etc/yum.repos.d/CentOS-Base.repo
#2、将全文中所有的“$releasever”字符串替换成“7”,因为我的系统centos7版本
#进入命令行模式
:%s/$releasever/7/g
#保存并退出
:wq

再次更新镜像源

[wanchao@localhost ~]$ yum clean all
[wanchao@localhost ~]$ yum makecache

3查看已安装的 gblic 版本

[root@rhel64 Downloads]# 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_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_PRIVATE

4使用yum更新安装依赖

sudo yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make -y

下载rpm包

wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-utils-2.17-55.el6.x86_64.rpm &
wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-static-2.17-55.el6.x86_64.rpm &
wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpm &
wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-common-2.17-55.el6.x86_64.rpm &
wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-devel-2.17-55.el6.x86_64.rpm &
wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-headers-2.17-55.el6.x86_64.rpm &
wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/nscd-2.17-55.el6.x86_64.rpm &


Length: 1723952 (1.6M) [application/x-rpm]
Saving to: `glibc-static-2.17-55.el6.x86_64.rpm'

100%[=================================================================>] 197,136      246K/s   in 0.8s    

2023-07-07 00:33:34 (246 KB/s) - `glibc-utils-2.17-55.el6.x86_64.rpm' saved [197136/197136]

100%[=================================================================>] 1,043,692    587K/s   in 1.7s    

2023-07-07 00:33:35 (587 KB/s) - `glibc-devel-2.17-55.el6.x86_64.rpm' saved [1043692/1043692]

100%[=================================================================>] 677,944      499K/s   in 1.3s    

2023-07-07 00:33:35 (499 KB/s) - `glibc-headers-2.17-55.el6.x86_64.rpm' saved [677944/677944]

100%[=================================================================>] 1,723,952    293K/s   in 6.1s    

2023-07-07 00:33:40 (277 KB/s) - `glibc-static-2.17-55.el6.x86_64.rpm' saved [1723952/1723952]

100%[=================================================================>] 4,181,172    246K/s   in 13s     

2023-07-07 00:33:46 (312 KB/s) - `glibc-2.17-55.el6.x86_64.rpm' saved [4181172/4181172]

100%[=================================================================>] 14,624,176   199K/s   in 1m 44s  

2023-07-07 00:35:17 (138 KB/s) - `glibc-common-2.17-55.el6.x86_64.rpm' saved [14624176/14624176]


[7] 4151
[1]   Done                    wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-utils-2.17-55.el6.x86_64.rpm
[2]   Done                    wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-static-2.17-55.el6.x86_64.rpm
[3]   Done                    wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpm
[4]   Done                    wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-common-2.17-55.el6.x86_64.rpm
[5]   Done                    wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-devel-2.17-55.el6.x86_64.rpm
[6]   Done                    wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-headers-2.17-55.el6.x86_64.rpm
[root@rhel64 glibc-2.17]# --2023-07-07 00:37:47--  http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/nscd-2.17-55.el6.x86_64.rpm
Resolving copr-be.cloud.fedoraproject.org... 52.44.175.77, 2600:1f18:8ee:ae00:d553:8ed5:d8b6:9f83
Connecting to copr-be.cloud.fedoraproject.org|52.44.175.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 255380 (249K) [application/x-rpm]
Saving to: `nscd-2.17-55.el6.x86_64.rpm'

100%[=================================================================>] 255,380      281K/s   in 0.9s    

2023-07-07 00:37:48 (281 KB/s) - `nscd-2.17-55.el6.x86_64.rpm' saved [255380/255380]


[7]+  Done                    wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/nscd-2.17-55.el6.x86_64.rpm

下载好后,安装包如下:

[root@rhel64 glibc-2.17]# ll
total 22184
-rw-r--r-- 1 root root  4181172 Feb 16  2015 glibc-2.17-55.el6.x86_64.rpm
-rw-r--r-- 1 root root 14624176 Feb 16  2015 glibc-common-2.17-55.el6.x86_64.rpm
-rw-r--r-- 1 root root  1043692 Feb 16  2015 glibc-devel-2.17-55.el6.x86_64.rpm
-rw-r--r-- 1 root root   677944 Feb 16  2015 glibc-headers-2.17-55.el6.x86_64.rpm
-rw-r--r-- 1 root root  1723952 Feb 16  2015 glibc-static-2.17-55.el6.x86_64.rpm
-rw-r--r-- 1 root root   197136 Feb 16  2015 glibc-utils-2.17-55.el6.x86_64.rpm
-rw-r--r-- 1 root root   255380 Feb 16  2015 nscd-2.17-55.el6.x86_64.rpm
[root@rhel64 glibc-2.17]# 

安装rpm包文章来源地址https://www.toymoban.com/news/detail-529491.html

sudo rpm -Uvh *-2.17-55.el6.x86_64.rpm --force --nodeps

到了这里,关于Centos6 升级glibc-2.17,解决Requires: libc.so.6(GLIBC_2.17)(64bit)错误解决方法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • centos7升级glibc2.28

    centos7自带的glibc对于某些软件是太旧的,决定将glibc升级至2.28。 2.1 下载glibc源码 2.2 查看glibc的INSTALL文件所描述的依赖 该文件描述了依赖软件的版本要求,例如gcc和make的版本。 2.3 升级gcc工具链 依据INSTALL文件,4.9 = gcc = 8.1.1。本文使用gcc 7.3.1,make 4.2.1。 安装gcc7工具链可参

    2024年02月13日
    浏览(47)
  • CentOS 8 GLIBC升级失败系统崩溃抢修实战

    服务器为CentOS 8,支持glibc版本为2.28,但编译一个工具的glibc需求版本为2.34,于是非常脑残地参考这篇Tutorial开始升级之旅:下载glibc-2.34,并 configure 到了系统目录,然后将源码 make make install ,然后…… 几乎所有命令都执行不了了,报类似下面的错误: 结论是:CentOS 8与高版

    2024年02月16日
    浏览(39)
  • Centos6.5环境Nginx 1.16.1升级到1.24.0版本

    2023年4月11日,官方发布了Nginx最新稳定版,版本号为 1.24.0。该版本是基于1.23.x(1.23.0 - 1.23.4)开发版的Bug修复,以及一些新特性的加入,而形成的稳定版。安全部门扫描后,发现现场不满足要求,下发通知整改升级到该版本; 资料地址: 官网下载页;安全页,版本说明、Ng

    2024年02月09日
    浏览(40)
  • Centos6.5 openssh 5.4离线 升级为 openssh 7.7,使用rpm包安装

    很多linux 没有gcc c++ 等编译环境,并且处于内网环境,无法通过yum 命令直接安装软件,又由于编译软件所需要的依赖较多,安装起来相当麻烦。所以使用一台可以联网的Linux 将源码打成rpm包,在去内网linux 安装,即可省去内网linux 安装编译环境所带来的的困扰 Linux Centos6.5 O

    2024年02月11日
    浏览(44)
  • (解决方案) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28‘ not found (node required by node)

    您可能会遇到安装在 ubuntu 操作系统上的 NodeJS 问题, 当您运行  node -v 或 pm2 list  命令时出现错误:-   node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28\\\' not found (required by node) 。 我尝试了各种解决方案 堆栈溢出 ,最后一个解决方案对我有用,只需通过以下命令运行即可。

    2024年02月16日
    浏览(43)
  • 【Linux-编译器gcc/glibc升级】CentOS7.9使用NodeJS18时报错/lib64/libm.so.6: version `GLIBC_2.27‘ not found

    文章已收录至https://lichong.work,转载请注明原文链接。 ps:欢迎关注公众号“Fun肆编程”或添加我的私人微信交流经验🤝 最近做一个前端项目Jenkins的自动构建时,项目使用nodejs18,正好公司Jenkins节点有些不够用,就用了台资源空余比较多的服务器用于充当Jenkins节点,配置好

    2024年02月16日
    浏览(43)
  • 关于version `GLIBC_2.34‘ not found解决办法(非升级glibc库或Linux系统)

    源代码 使用arm-linux-gnueabihf-gcc交叉编译 部署到开发板后运行报错 使用bing和百度搜索 version `GLIBC_2.34’ not found 得到的解决办法归纳为一下几点 升级部署环境系统版本,降低打包编译环境的系统版本 在部署环境中下载符合版本的gblc库(一般高于原来的环境) 使用工具gblc-al

    2023年04月25日
    浏览(42)
  • linux报/lib64/libc.so.6: version `GLIBC_2.28‘ not found

    本处理方法主要针对新创建的服务器centos7.9版本 前提准备  安装gcc 升级make 安装glibc-2.28 如果在编译的失败,则提示什么就下载什么 比如下面提示bison版本过旧,那么就升级bison  更新完缺失的软件之后再重新编译 编译完成后再安装 接下来还剩一个  同样的步骤,只是这次安

    2024年01月17日
    浏览(47)
  • ubuntu20.04升级GLIBC高版本方法,解决:version `GLIBC_2.34‘ not found

    检查版本 strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC_ 1 显示结果 GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLIBC_2.6 GLIBC_2.7 GLIBC_2.8 GLIBC_2.9 GLIBC_2.10 GLIBC_2.11 GLIBC_2.12 GLIBC_2.13 GLIBC_2.14 GLIBC_2.15 GLIBC_2.16 GLIBC_2.17 GLIBC_2.18 GLIBC_2.22 GLIBC_2.23 GLIBC_2.24 GLIBC_2.25 GLIBC_

    2024年02月12日
    浏览(45)
  • docker: /lib64/libc.so.6: version `GLIBC_2.32‘ not found (required by docker)

    Linux环境 Ubuntu 22.04 docker 最新版 jenkins docker 版本(以下版本都会报错 改为 jenkins/jenkins:jdk11 可能是因为报错的底层镜像用的都是centos,与ubuntu22.04不兼容, ubuntu22.04应该使用 jenkins/jenkins:jdk11 ,他的From镜像是 eclipse-temurin:“${JAVA_VERSION}”-jdk-focal , 然后在上级的From镜像应该是 ubuntu:

    2024年02月08日
    浏览(50)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包