美文网首页
Requires: libt1.so.5()(64bit)

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

作者: 极地瑞雪 | 来源:发表于2017-02-13 22:34 被阅读225次

    在使用yum安装php5.5的过程中,出现了如下依赖:
    --> Finished Dependency Resolution
    Error: Package: php-gd-5.4.45-4.el6.remi.x86_64 (remi)
    Requires: libt1.so.5()(64bit)
    通过yum provides 命令反查询后发现是由于缺少了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的过程中出现了不可解决的依赖软件libt1.so.5()(64bit)

    使用yum的反查询功能查出包含有这个库文件的软件包是哪一个
    (在使用yum反查询后没有得到任何结果,后来排查得知是我yum的base repo设置有问题,导致yum读不到base中的软件库信息。多说一句,如果遇到以上问题,可以排查一下是不是服务器的base repo出现的问题,可以使用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即可

    相关文章

      网友评论

          本文标题:Requires: libt1.so.5()(64bit)

          本文链接:https://www.haomeiwen.com/subject/bfgtwttx.html