Perl 패키지를 설치하려고 하는데 다음 종속성 오류가 발생합니다.
[user@localhost Downloads]$ rpm -Uvh ImageMagick-6.8.4-9.i386.rpm
error: Failed dependencies:
libltdl.so.3 is needed by ImageMagick-6.8.4-4.i386
이 문제를 해결하기 위해 누락된 패키지를 설치하려고 시도했지만 이미 설치되어 있는 것 같습니다.
[Evgeny@localhost Downloads]$ sudo yum install libltdl.so.3
...
No package libltdl.so.3 available.
yum
그런 다음 with 옵션을 사용하려고 하는데 reinstall
또 다른 오류가 발생합니다.
[Evgeny@localhost Downloads]$ sudo yum reinstall libltdl.so.3
...
No Match for argument: libltdl.so.3
Error: Nothing to do
여기서 문제가 무엇입니까? 현재 libltdl.so.3
패키지를 완전히 제거하고 처음부터 다시 설치해야 합니까? 아니면 다른 문제가 있는 걸까요?
답변1
"libltdl.so.3" 대신 "libtool-ltdl" 패키지를 설치해야 합니다. 이는 위 패키지의 일부인 공유 라이브러리입니다.
yum install "libtool-ltdl"
rpm -Uvh ImageMagick-6.8.4-9.i386.rpm
작동하도록 해야 합니다.
다음은 centos용 libltdl.so.3 파일이 포함된 패키지에 대한 모든 결과입니다.
You have chosen search in content of rpms.
Display 1 - 38 hits of 38. Search took 0.02 seconds.
1
1
Search results for libltdl.so.3 :
CentOS 5 ftp.centos.org/5.9/os/x86_64/CentOS/libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm
CentOS 5 ftp.centos.org/5.9/os/x86_64/CentOS/libtool-ltdl-1.5.22-7.el5_4.i386.rpm
CentOS 5 ftp.centos.org/5.9/os/i386/CentOS/libtool-ltdl-1.5.22-7.el5_4.i386.rpm
CentOS Other yum.trixbox.org/centos/4/RPMS/libtool-libs-1.5.6-4.EL4.1.c4.4.i386.rpm
Other ftp.rpmhelp.net/pub/releases/1.0-CURRENT/i586/RPMS/libltdl3-1.4.3-9sls.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/g/gw/gwmos/GW Monitor Community Edition/5.0.5-208/groundwork-monitor-os-5.0.5-208.sles9.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/g/gw/gwmos/GW Monitor Community Edition/5.0.5-208/groundwork-monitor-os-5.0.5-208.sles10.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/g/gw/gwmos/OldFiles/groundwork-monitor-os-4.5-M1.31a.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/m/ma/mapifier/OldFiles/groundwork-monitor-os-4.5-M1.31.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/g/gw/gwmos/GW Monitor Community Edition/4.5.11/groundwork-monitor-os-4.5-11.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ar/arp2.berlios/gg-libtool-1.4.2-2.i386.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ar/arp2.berlios/gg-libtool-1.4.2-1.i386.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.53.lt.1.4.2.am.1.6-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.53.lt.1.4.2.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.52.lt.1.4.am.1.4.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.52.lt.1.4.am.1.4-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.52.lt.1.4.2.am.1.6-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.52.lt.1.4.2.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.52.lt.1.4.2.am.1.4.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.52.lt.1.4.2.am.1.4-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.13.lt.1.4.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.13.lt.1.4.am.1.4-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.13.lt.1.4.2.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.13.lt.1.4.2.am.1.4.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/autotools/2002-03/autotools-for-ac.2.13.lt.1.4.2.am.1.4-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52d.lt.1.4b.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52d.lt.1.4.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52d.lt.1.4.am.1.4.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52d.lt.1.4.2.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52d.lt.1.4.2.am.1.4l-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4b.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4.am.1.4l-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4.am.1.4.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4.am.1.4-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4.2.am.1.5-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4.2.am.1.4f-2sfnet.i586.rpm
Other ftp.sourceforge.net/pub/sourceforge/a/ac/ac-archive/OldFiles/autotools-ac.2.52.lt.1.4.2.am.1.4.5-2sfnet.i586.rpm
답변2
간단한 것이 yum install ImageMagick
필요합니다(종속성 없이 설치될 가능성은 거의 없습니다). 시스템에서 패키지가 설치되었다고 생각하면 yum reinstall ImageMagick
이 명령을 실행하세요. 이로 인해 문제가 발생하는 경우 yum deplist ...
종속성을 제공하는 패키지 목록을 제공해 주세요.
또한 설치하고 yum-utils
최소한 yum
매뉴얼 페이지를 확인하십시오 package-cleanup
.