linux wine war3 - couldn't load module: /usr/li...解決
1
#我的操作系統
2
OS:fedora 17 x86_64
3
wine-1.5.29
1
#之前在ubuntu上,玩過《魔獸爭霸3》,最近使用fadora了。又想玩一下這游戲。安好wine後,運行:
2
wine war3.exe -opengl
3
#發現以下問題:
4
p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so:
5
/usr/lib/pkcs11/gnome-keyring-pkcs11.so: 無法打開共享對象文件: 沒有那個文件或目錄
01
#查看libgnome-keyring是否安裝
02
rpm -qa|grep libgnome-keyring
03
libgnome-keyring-3.4.1-2.fc17.x86_64
04
libgnome-keyring-3.4.1-2.fc17.i686
05
libgnome-keyring-devel-3.4.1-2.fc17.i686
06
libgnome-keyring-devel-3.4.1-2.fc17.x86_64
07
#發現32位,64位的都安裝了,而且
08
ls -l /usr/lib64/pkcs11/gnome-keyring-pkcs11.so #有該文件
09
#查看libgnome-keyring-3.4.1-2.fc17.i686的安裝目錄
10
rpm -ql libgnome-keyring-3.4.1-2.fc17.i686
11
#安裝信息
12
/usr/lib/libgnome-keyring.so.0
13
/usr/lib/libgnome-keyring.so.0.2.0
14
#看到這個就好辦了,在/usr/lib/pkcs11/gnome-keyring-pkcs11.so,建一個鏈接
15
sudo ln -s /usr/lib/libgnome-keyring.so.0 /usr/lib/pkcs11/gnome-keyring-pkcs11.so
16
#再運行,就Ok了。
1
#安裝32位的庫
2
sudo yum install isdn4k-utils.i686 cups-libs.i686 dbus-libs.i686 fontconfig.i686 mesa-libGLU.i686 gnutls.i686 libgphoto2.i686 gsm.i686 libjpeg-turbo.i686 openldap.i686 lcms-libs.i686 libmpg123.i686 openal-soft.i686 libpng-compat.i686 sane-backends-libs.i686 libv4l.i686 libXcomposite.i686 libXcursor.i686 libXinerama.i686 libxml2.i686 libxslt.i686 openssl.i686 nss-mdns.i686 libgcc.i686 libXext.i686 freetype.i686 glibc.i686 zlib.i386