我已将RHEL OS从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的步骤:
tar xvfz glibc-2.14.tar.gz
cd glibc-2.14
mkdir build
cd build
../configure --prefix=/opt/glibc-2.14
make
sudo make install
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中设置/安装强制展开。