22

I've installed Wine 1.7 with Winetricks on Ubuntu 13.10 Saucy Salamander. I've tried to launch any .exe files, but still is a problem:

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory

I've found a few tips, but anything doesn't work. How can I solve it?

Regards.

chico
  • 221

5 Answers5

21

I just had the same problem. For me, it was sufficient to install the i386-version of p11-kit using

sudo apt-get install p11-kit:i386

I'm using Ubuntu 13.10 64-bit.

Mehrwolf
  • 311
14

I had the same problem and solved it in a very simple way:

All you have to do is to install the p11-kit-modules:i386 package. You can do that like this:

sudo apt-get install p11-kit-modules:i386

And that's it, p11-kit-trust.so is part of this package and will be installed in its correct place.

Hope it helps ;-)

ph0t0nix
  • 1,397
serfer2
  • 241
5

I just downloaded p11-kit:i386 with apt-get download, extracted the /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so file (with Archive Manager) and copied it to my /usr/lib/i386-linux-gnu/pkcs11/ folder.

Hope this helps others to solve the problem without having to install other software.

kiri
  • 28,986
1

You could try to follow this other thread and perform as it mentioned over here

If you are on Ubuntu saucy salamander (e.g. 13.10 beta 1) and you get the error message

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory

then simply follow the same commands as in the above link, but also with p11-kit: first do

sudo /usr/local/bin/getlibs -p p11-kit:i386 

then make the symbolic link:

sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/p11-kit-trust.so /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so

Reggie Sep 17 at 17:38

Reggie
  • 111
  • 2
1

A few of the other answers suggest doing this:

sudo apt-get install p11-kit:i386

This causes conflicts for me, and deinstalls gnome-keyring, which is a pretty bad thing. It stops ssh from remembering passphrases, and thus you have to keep typing your passphrase in the terminal every single time. And it stops Network-Manager from being able to ask for WiFi passwords.

The one answer that works is

sudo apt-get install p11-kit-modules:i386

This doesn't have any conflicts.

Manually unzipping packages and installing files is also not a good idea, since you won't automatically get updates, which can lead to security issues.

(Wanted to comment on the correct answer post, but wasn't allowed due to lack of reputation. Figured I'd post to clarify the details for people.)