#個人操做系統 OS:fedora 17 x86_64 wine-1.5.29
#以前在ubuntu上,玩過《魔獸爭霸3》,最近使用fadora了。又想玩一下這遊戲。安好wine後,運行: wine war3.exe -opengl #發現如下問題: p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: 沒法打開共享對象文件: 沒有那個文件或目錄
#查看libgnome-keyring是否安裝 rpm -qa|grep libgnome-keyring libgnome-keyring-3.4.1-2.fc17.x86_64 libgnome-keyring-3.4.1-2.fc17.i686 libgnome-keyring-devel-3.4.1-2.fc17.i686 libgnome-keyring-devel-3.4.1-2.fc17.x86_64 #發現32位,64位的都安裝了,並且 ls -l /usr/lib64/pkcs11/gnome-keyring-pkcs11.so #有該文件 #查看libgnome-keyring-3.4.1-2.fc17.i686的安裝目錄 rpm -ql libgnome-keyring-3.4.1-2.fc17.i686 #安裝信息 /usr/lib/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0.2.0 #看到這個就好辦了,在/usr/lib/pkcs11/gnome-keyring-pkcs11.so,建一個連接 sudo ln -s /usr/lib/libgnome-keyring.so.0 /usr/lib/pkcs11/gnome-keyring-pkcs11.so #再運行,就Ok了。
#安裝32位的庫 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