I am trying to start a program using wine on Ubuntu LTS 12.04 64 bit
When I do this, I get the following error message...
/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
When I try to symlink the 64 bit libraries, of course, I get the following...
jackie@jackie-Latitude-E6410:~/tmp/AC$ wine TTG.exe
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so:
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: wrong ELF class: ELFCLASS64
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009),
starting debugger...
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc47aac
Is there a package that installs the 32-bit as well as the 64bit?
UPDATE:
Appears to be a bug in Ubuntu w/ 1.4
https://launchpad.net/~ubuntu-wine/+archive/ppa
I used these steps and my application worked
http://www.noobslab.com/2012/04/install-wine-152-on-ubuntu.html
Not sure exactly why but it appears to ignore the error if you use the 1.5.
The solution to this needn't be any more complex than:
for 64 bit machines. Or
for 32 bit machines.
At least this is the case in 13.04 and I see no reason why that wouldn't hold true in 12.04/12.10.
This solution works for Ubuntu 12.04 64bit
I originally had this error:
Then I did a
ln -s
link to the 64-bit lib and got this error: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: wrong ELF class: ELFCLASS64note: before you start remove the link to the 64bit lib if you created it.
Solution:
Here is how to fix it. Note I am using Crossover 11.3, which uses wine 1.4 so it should also work for wine users.
Further related information to getlibs can be found here.
1) Install getlibs:
UODATE 3/2013: Download getlibs from https://github.com/spaetzlecode/getlibs
2) Install the 32bit library:
If you got this message error:
then download the file right here:
and do:
3) Make the symbolic link:
Now run your Crossover/Wine app and the error is gone.
You probably guessed your needed to get the file
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
. This file is part of an i386 ubuntu package which won't install directly on your amd64 system. But you can get it easily:This has happened to me on a
12.10
withwine-1.5.29
, and i386gnome-keyring
version was labeled3.6.1-0ubuntu1_i386
, and this worked for me.Please note that if these instruction do not fit for you, maybe should you mention your ubuntu release and
gnome-keyring
version. Thanks !Another option that worked for me is to simply reinstall libp11-kit0