[완료] 도와주세요. yum과 rpm이 깨졌습니다... libelf.so.1: cannot open shared object file

iiz0의 이미지

운영체제 이름 : Enterprise Linux
운영체제 버젼 : Enterprise Linux Server releas 5.5
커널 버젼 : 2.6.18-194.el5

사용환경은 대충 저렇구요...

리눅스 서버에 시스템 설치 하다가 elfutils-libelf-0.137-3.el5.x86_64.rpm을 다른 버전으로 설치하려다 의존성무시해서 rpm -e 로 지워버렸는데(--nodeps)...yum과 rpm이 깨져버렸습니다. 다시 elfutils패키지를 설치하고 싶은데, rpm도 yum도 깨져버려서 설치도 못하고 있네요. 도와주세요.

elfutils-libelf-0.137-3.el5.x86_64요거를 다시 설치하고 싶은데, 방법이 없을까요?

yum과 rpm을 실행하면 다음과 같은 에러메시지가 출력됩니다.

$yum

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

libelf.so.1: cannot open shared object file: No such file or directory

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.4.3 (#1, Jul 2 2009, 15:50:36)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

$ rpm
rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

증상은 다음과 같습니다. libelf.so.1 요 파일이 없어서 그런거 같은데 잘 모르겠네요.

도와주세요...

파도의 이미지

yum clean all
yum install elfutils-libelf-0.137-3

혹시 될 수도 있습니다.

--------Signature--------
시스니쳐 생각 중..

iiz0의 이미지

# yum 쳤을때 나오는 에러 메세지와 동일하네요..ㅠㅠ

hys545의 이미지

libelf.so.1
이 파일을 시디에서 하드에 복사하는 겁니다.
전에 파일 잘못건드려서 rpm안될때 이방법으로 rpm작동되게 했음..

즐린

iiz0의 이미지

회사섭에 붙어서 작업하는거였는데,
결국 업무요청을 해야겠네요..ㅠㅠ

답변 감사합니다.