
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에서 강제 해제를 설정/설치하는 방법을 알려주십시오.
답변1
RHEL OS를 6.7에서 7.5로 업그레이드했습니다.
안타깝게도 6.7에서 7.5로의 업그레이드는 지원되지 않습니다. a yum upgrade
및 를 먼저 실행하지 않고 업그레이드 도구를 실행하면 이와 같은 정말 이상한 부작용이 발생할 수 있습니다 yum update
. 을 살펴보셨나요?업그레이드를 위해 시스템 준비가이드? 첫 번째 단계는 시스템을 메이저 버전(이 경우 6.9
)의 최신 마이너 버전으로 업그레이드하는 것입니다.
백업에서 복원할 수 없는 경우 RHEL 지원팀에 문의하는 것이 좋습니다!