p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
If you get the following error on 12.04 when running WINE:
Code:
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: cannot open shared object file: No such file or directory
Install the gnome-keyring and p11-kit
Code:
$ sudo apt-get install gnome-keyring p11-kit
Open up nautilus as root
Navigate to /usr/lib/i386-linux-gnu/ and create a directory called pkcs11
Then, go to /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so (while still in root nautilus) and make that *.so file executable (right-click -> properties).
Close root nautilus.
Issue the following command (in a terminal) to establish a symlink.
Code:
sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
Restart WINE.
Regards,
CH
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
Quote:
Originally Posted by
cement_head
If you get the following error on 12.04 when running WINE:
Code:
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: cannot open shared object file: No such file or directory
Install the gnome-keyring and p11-kit
Code:
$ sudo apt-get install gnome-keyring p11-kit
Open up nautilus as root
Navigate to
/usr/lib/i386-linux-gnu/ and create a directory called
pkcs11
Then, go to [B
]/usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so[/B] (while still in root nautilus) and make that *.so file executable (right-click -> properties).
Close root nautilus.
Issue the following command (in a terminal) to establish a symlink.
Code:
sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
Restart WINE.
Regards,
CH
This is NO directory of i386-linux-gnu on a "clean" 12.04 install, so from the highlighted part o, your "solved" is NOT SOLVED
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
Quote:
Originally Posted by
cwwilson721
This is NO directory of i386-linux-gnu on a "clean" 12.04 install, so from the highlighted part o, your "solved" is NOT SOLVED
Code:
sudo apt-get install ia32-libs
Which you would need to run just about any 32 bit application(s), and should install on an AMD64 bit install for compatibility.
- CH
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
Quote:
Originally Posted by
cement_head
Code:
sudo apt-get install ia32-libs
Which you would need to run just about any 32 bit application(s), and should install on an AMD64 bit install for compatibility.
- CH
Already installed, and no such directory.
Not a noob to Linux, already have all the stuff needed, I'm just saying:
THERE IS NO DIRECTORY
Code:
/usr/lib32/i386-linux-gnu
on a clean 12.04 install
Code:
USER@desktop:~$ ls /usr/lib32/i386*
ls: cannot access /usr/lib32/i386*: No such file or directory
USER@desktop:~$
I'm not making this up.
Code:
USER@desktop:~$sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
USER@desktop:~$ ls /usr/lib32/i386*
ls: cannot access /usr/lib32/i386*: No such file or directory
USER@desktop:~$ sudo apt-get install gnome-keyring p11-kit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gnome-keyring p11-kit
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,419 kB/1,426 kB of archives.
After this operation, 4,346 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main gnome-keyring amd64 3.2.2-2ubuntu4 [1,419 kB]
Fetched 1,419 kB in 1s (850 kB/s)
Selecting previously unselected package gnome-keyring.
(Reading database ... 225253 files and directories currently installed.)
Unpacking gnome-keyring (from .../gnome-keyring_3.2.2-2ubuntu4_amd64.deb) ...
Selecting previously unselected package p11-kit.
Unpacking p11-kit (from .../p11-kit_0.12-2ubuntu1_amd64.deb) ...
Processing triggers for gconf2 ...
Processing triggers for libglib2.0-0:i386 ...
Processing triggers for libglib2.0-0 ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for hicolor-icon-theme ...
Setting up gnome-keyring (3.2.2-2ubuntu4) ...
Setting up p11-kit (0.12-2ubuntu1) ...
USER@desktop:~$ ls /usr/lib32/i386*
ls: cannot access /usr/lib32/i386*: No such file or directory
I'm not making this up.
You have done something else to your system and just plain forgot to mention it. It happens.
But your solution does not work the way you have it written here.
(P.S.: Just installing the keyring "solves" the issue without the "extra" steps you have. Just saying...)
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
Ok, I believe you - changing back to "unsolved".
Can't remember what I did...
Oh well...
- CH
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
Actually, if you just do the "install" part, it IS solved
It's the mucking around after that with symlinks, non-existent folders, etc, that doesn't work.
Just use
Code:
sudo apt-get install gnome-keyring p11-kit
and it's fixed
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
Quote:
Originally Posted by
cwwilson721
Actually, if you just do the "install" part, it IS solved
It's the mucking around after that with symlinks, non-existent folders, etc, that doesn't work.
Just use
Code:
sudo apt-get install gnome-keyring p11-kit
and it's fixed
I have the same error on a fresh Ubuntu install. I installed this as suggested. Still get the same error.
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
I have the same issue and installing ia32 did not help here either.
Installing the keyring resulted in the .so being installed to /usr/lib/x86_64-linux-gnu/pkcs11/
Here's a link to my thread on the forums... still unsolved.
http://ubuntuforums.org/showthread.php?t=2092956
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04
I'm using 12.10 and have had the same problem - Installing wine 1.5 fixed it for me: http://noobslab.com/2012/10/install-...in-ubuntu.html