如何根据安装时缺失的文件查找对应的包

[root@localhost svn]# vim /etc/yum.repos.d/softwarecenter.repo 
[root@localhost svn]# svn checkout http://xxxxx/svn/xxxxxxx/trunk/src/v1.1/fcitx
svn: error while loading shared libraries: libserf-1.so.0: cannot open shared object file: No such file or directory
[root@localhost svn]# yum provides "*/libserf-1.so.0"
已加载插件:langpacks libserf-1.3.7-2.fc21.i686 : High-Performance Asynchronous HTTP Client Library 源 :cgdl 匹配来源: 文件名 :/usr/lib/libserf-1.so.0 libserf-1.3.7-2.fc21.i686 : High-Performance Asynchronous HTTP Client Library 源 :cgdl32 匹配来源: 文件名 :/usr/lib/libserf-1.so.0 libserf-1.3.7-2.fc21.x86_64 : High-Performance Asynchronous HTTP Client Library 源 :cgdl 匹配来源: 文件名 :/usr/lib64/libserf-1.so.0 libserf-1.3.7-2.fc21.x86_64 : High-Performance Asynchronous HTTP Client Library 源 :@desktop 匹配来源: 文件名 :/usr/lib64/libserf-1.so.0

 

转载于:https://www.cnblogs.com/noxy/p/6795286.html

你可能感兴趣的:(如何根据安装时缺失的文件查找对应的包)