當我遇到(如下)
error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
找不到某個library,又不確定是那個套件(package)裡的
我們可以透過
yum provides libasound.so.2
找到它是那個套件,我們裝它就行了
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirror01.idc.hinet.net * epel: ftp.riken.jp * extras: mirror01.idc.hinet.net * updates: mirror01.idc.hinet.net 89 packages excluded due to repository priority protections alsa-lib-1.0.22-3.el6.i686 : The Advanced Linux Sound Architecture (ALSA) library Repo : base Matched from: Other : libasound.so.2
留言