yum 反查库文件在哪个安装包中

yum whatprovides */命令名


ldd 命令时候经常提示找不到so文件。

libogg.so.0 => not found


yum provides  libogg.so.0或

yum whatprovides   libogg.so.0 


Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

 * base: mirror.bit.edu.cn

 * epel: ftp.sjtu.edu.cn

 * extras: mirror.bit.edu.cn

 * rpmforge: ftp.riken.jp

 * updates: mirror.bit.edu.cn

 * webtatic: us-east.repo.webtatic.com

2:libogg-1.1.4-2.1.el6.i686 : The Ogg bitstream file format library

Repo        : base

Matched from:

Other       : libogg.so.0


都可以找到相应的rpm包,比较强大。


你可能感兴趣的:(rpm)