GLIBC 2.14 安装错误:需要强制展开支持 - RHEL 7.5

GLIBC 2.14 安装错误:需要强制展开支持 - RHEL 7.5

我已经将 RHEL 操作系统从 6.7 升级到 7.5。升级后,我在尝试运行时发现一些问题yum。以下是详细信息。

# yum repolist

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, Aug  9 2016, 06:11:56)                                                                                                                                     
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]                                                                                                                                       

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

收到此错误后,我刚刚安装了 python2.7 和 GLIBC 2.14。但是当我尝试从当前的 GLIBC 版本 2.12 安装 GLIBC 2.14 时,它会抛出一些错误。以下是我用于安装 GLIBC 2.14 的步骤:

  1. tar xvfz glibc-2.14.tar.gz
  2. cd glibc-2.14
  3. mkdir build
  4. cd build
  5. ../configure --prefix=/opt/glibc-2.14
  6. make
  7. sudo make install
  8. export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH

在步骤5中,我遇到了错误。以下是详细信息:

# ../configure --prefix=/opt/glibc-2.14

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

我不知道这个错误“需要展开支持”。请告诉我如何在 Redhat 7.5 中设置/安装强制展开。

相关内容