【问题标题】:libXtst installed with yum; where is /usr/lib/libXtst.so.6?用 yum 安装 libXtst; /usr/lib/libXtst.so.6 在哪里?
【发布时间】:2016-08-31 10:08:03
【问题描述】:

libXtst 使用 'yum install libXtst' 安装成功。

[root@prdsup1 Packages]# yum reinstall libXtst
Loaded plugins: security, ulninfo
Setting up Reinstall Process
Resolving Dependencies
--> Running transaction check
---> Package libXtst.x86_64 0:1.2.2-2.1.el6 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved
=============================================================================================================================
 Package                   Arch                     Version                         Repository                          Size
=============================================================================================================================
Reinstalling:
 libXtst                   x86_64                   1.2.2-2.1.el6                   ol6_latest_local                    18 k

Transaction Summary
=============================================================================================================================
Reinstall     1 Package(s)

Total download size: 18 k
Installed size: 27 k
Is this ok [y/N]: y
Downloading Packages:
libXtst-1.2.2-2.1.el6.x86_64.rpm                                                                      |  18 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libXtst-1.2.2-2.1.el6.x86_64                                                                              1/1 
  Verifying  : libXtst-1.2.2-2.1.el6.x86_64                                                                              1/1 

Installed:
  libXtst.x86_64 0:1.2.2-2.1.el6   

Complete!

但我无法使用以下命令找到/usr/lib/libXtst.so.6 文件:

[root@prdsup1 Packages]# rpm -qa | grep Xtst
libXtst-devel-1.2.2-2.1.el6.x86_64
libXtst-1.2.2-2.1.el6.x86_64
[root@prdsup1 Packages]# ls -al /usr/lib/*tst*
ls: cannot access /usr/lib/*tst*: No such file or directory
[root@prdsup1 Packages]# ls -al /usr/lib/*Xt*
lrwxrwxrwx 1 root root     14 Sep 24  2015 /usr/lib/libXt.so.6 -> libXt.so.6.0.0
-rwxr-xr-x 1 root root 376964 Aug 18  2014 /usr/lib/libXt.so.6.0.0

【问题讨论】:

标签: linux installation yum file-not-found


【解决方案1】:

它在 /usr/lib64 中。 下面的命令给你答案。

rpm -ql libXtst-devel-1.2.2-2.1.el6.x86_64

【讨论】:

    猜你喜欢
    • 2013-06-25
    • 1970-01-01
    • 2013-01-04
    • 2016-10-11
    • 1970-01-01
    • 1970-01-01
    • 2014-09-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多