Requires: libt1.so.5()(64bit)

在使用yum安裝php5.5的過程中,出現(xiàn)了如下依賴:
--> Finished Dependency Resolution
Error: Package: php-gd-5.4.45-4.el6.remi.x86_64 (remi)
Requires: libt1.so.5()(64bit)
通過yum provides 命令反查詢后發(fā)現(xiàn)是由于缺少了t1lib這個軟件包

shell> yum install --enablerepo=remi php php-gd
...
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.45-4.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-gd-5.4.45-4.el6.remi.x86_64 (remi)
           Requires: libt1.so.5()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

安裝php的過程中出現(xiàn)了不可解決的依賴軟件libt1.so.5()(64bit)

使用yum的反查詢功能查出包含有這個庫文件的軟件包是哪一個
(在使用yum反查詢后沒有得到任何結(jié)果,后來排查得知是我yum的base repo設(shè)置有問題,導(dǎo)致yum讀不到base中的軟件庫信息。多說一句,如果遇到以上問題,可以排查一下是不是服務(wù)器的base repo出現(xiàn)的問題,可以使用centos自帶的centos-base.repo,也可以下載163的centos-base-163.repo庫)

shell> yum provides "*/libt1.so.5"
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.yun-idc.com
 * epel: mirrors.opencas.cn
 * extras: mirrors.yun-idc.com
 * remi-safe: mirror.innosol.asia
 * rpmforge: mirrors.neusoft.edu.cn
 * updates: mirrors.yun-idc.com
t1lib-5.1.2-6.el6_2.1.x86_64 : PostScript Type 1 font rasterizer
Repo        : base
Matched from:
Filename    : /usr/lib64/libt1.so.5

t1lib-5.1.2-6.el6_2.1.i686 : PostScript Type 1 font rasterizer
Repo        : base
Matched from:
Filename    : /usr/lib/libt1.so.5

接下來,解決這個問題只需yum install t1lib -y即可

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容