Centos 6.10上的bry yum,由于缺少libunwind而无法错误地安装缺少的GLIBC

问题描述 投票:1回答:1

我在Centos 6.10上安装了nvidia驱动程序,其中包括--skip-broken标志,并且可能损坏了yum。每当我运行yum命令时,就会弹出此错误。

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib64/libgcc_s.so.1)

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jun 20 2019, 14:14:55)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq

我偶然发现了这个thread ,它谈论安装缺少的GLIBC版本,但是我在步骤8 ../configure --prefix=/opt/glibc-2.14中遇到了此错误。>

checking for forced unwind support... no
configure: error: forced unwind support is required

然后带我进入此forum thread,该状态指出我应该通过yum安装libunwind。这是我最初的问题,因此陷入僵局。我该怎么办?

我在Centos 6.10上安装了nvidia驱动程序,其中包括--skip-broken标志,并且可能损坏了yum。每当我运行yum命令时,都会弹出此错误。导入...

glibc centos6 yum libunwind
1个回答
0
投票

您需要重新安装GCC,或更确切地说是libgcc软件包。某个版本不兼容的内容覆盖了/lib64/libgcc_s.so.1。您应该能够从镜像下载libgcc RPM软件包,然后运行:

© www.soinside.com 2019 - 2024. All rights reserved.