ubuntu 12.04 Wine 找不到 gnome-keyring-pkcs11.so 的解决方法

在64位ubuntu上运行wine出现下面错误
p11-kit:couldn'tloadmodule: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

解决方法:
wget --no-check-certificate https://raw.github.com/spaetzlecode/getlibs/master/getlibs
sudo chown root:root getlibs
sudo chmod +x getlibs
sudo mv -n getlibs /usr/bin
sudo getlibs -p gnome-keyring:i386
sudo mkdir -p /usr/lib/i386-linux-gnu/pkcs11/
sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

你可能感兴趣的:(ubuntu 12.04 Wine 找不到 gnome-keyring-pkcs11.so 的解决方法)