linux wine war3 - couldn't load module: /usr/li...


#我的操作系统
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


你可能感兴趣的:(linux,war3)