p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

Bug #885492 reported by James Gifford
560
This bug affects 123 people
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

whenever I try to do a `git push`, I get this error:

`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`

Distributor ID: Ubuntu
Description: Ubuntu precise (development branch)
Release: 12.04
Codename: precise

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-keyring (Ubuntu):
status: New → Confirmed
Revision history for this message
Joel Pickett (jpickett) wrote :

same with when I try to issue a 'bzr launchpad-login jpickett'

on precise 12.04 (daily 04/11)

Revision history for this message
PeterPall (peterpall) wrote :

The same happens on my system (precise pangolin) with banshee and wine.

Revision history for this message
Dan Kegel (dank) wrote :

I'm hitting this trying to run wine on precise pangolin alpha 1 on x86_64 with ia32-libs.

Revision history for this message
Chadwick (lavacano) wrote :

apt-file search gnome-keyring-pkcs11.so
gnome-keyring: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

no ia32 equivalent

Revision history for this message
promet (prometx) wrote :

I am experiencing this also with wine on Precise Beta 2 on x86_64. I'm unsure about my ia32-libs status.

Revision history for this message
xrdodrx (xrdodrx) wrote :

I am experiencing this as well with Wine, and it breaks any program that needs to use SSL, in my case the Microsoft Visual C++ 2005 Redistributable:

fixme:advapi:DecryptFileA "C:\\users\\fredrick\\Temp\\IXP000.TMP\\" 00000000
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
fixme:advapi:DecryptFileA "C:\\users\\fredrick\\Temp\\IXP001.TMP\\" 00000000
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
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:sxs:cache_QueryAssemblyInfo 0x1bbd78, 0x00000002, L"Microsoft.VC80.ATL,type=\"win32\",version=\"8.0.50727.42\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f978

Revision history for this message
xrdodrx (xrdodrx) wrote :

Oh, and I forgot to add in my previous comment that there doesn't seem to be a gnome-keyring:i386 to get this to work right in Wine:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnome-keyring:i386 : Depends: libgck-1-0:i386 (>= 2.91.1) but it is not going to be installed
                      Depends: libgcr-3-1:i386 (>= 3.2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I hope this gets fixed before Precise since it breaks countless Wine packages.

Revision history for this message
Primeroz (primeroznl) wrote :

+1 Wine SSL auth is broken. Evernote failing

tried some nasty stuff (extract the so from the i386 package and put in place ) ... miserably failed )

Revision history for this message
Nino Dioses (ndioses) wrote :

I get the same error, Sugarsync used to work just fine but now its broken in wine

Revision history for this message
Andreas Gutowski (guddl) wrote :

+1 from me too. Wine SSL auth is broken. Evernote failing :-(

Revision history for this message
Mekk (marcin-kasperski) wrote :

PLINK (from putty) fails this way under wine too

Revision history for this message
Daniel Johansson (danjo133) wrote :

I get this error when trying to run the Diablo 3 beta

Revision history for this message
Eric Wheeler (crazybot) wrote :

Confirmed, on a 64bit system, pretty much nothing works with wine.

Revision history for this message
Daniel Johansson (danjo133) wrote :

So, to recap:

Wine use p11-kit to get ssl working, that needs a module:

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

The gnome-keyring-pkcs11.so is available in gnome-keyring:i386, but.

gnome-keyring:i386 has a dependency on libgcr-3-1:i386 which has a dependency on libgcr-3-common:i386 which is missing

cake:~$ sudo apt-get install libgcr-3-common:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgcr-3-common:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgcr-3-common:i386' has no installation candidate

Revision history for this message
Nicholas (nicholasotley) wrote :

Is there any chance gnome-keyring:i386 will be fixed before the final release of 12.04 in a couple of days? I can't use FL Studio with WINE until this gets fixed.

nik@MacBookPro4:~$ sudo apt-get install gnome-keyring:i386
[sudo] password for nik:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 gnome-keyring:i386 : Depends: libgck-1-0:i386 (>= 3.3.90) but it is not going to be installed
                      Depends: libgcr-3-1:i386 (>= 3.4.0-0ubuntu1~precise1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

nik@MacBookPro4:~$ sudo apt-get install libgcr-3-1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 libgcr-3-1:i386 : Depends: libgck-1-0:i386 (>= 3.3.90) but it is not going to be installed
                   Depends: libgcr-3-common:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

nik@MacBookPro4:~$ sudo apt-get install libgcr-3-common:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgcr-3-common:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgcr-3-common:i386' has no installation candidate

Revision history for this message
xrdodrx (xrdodrx) wrote :

Apparentely it won't let me mark two packages as affected. :\

affects: gnome-keyring (Ubuntu) → wine1.4 (Ubuntu)
affects: wine1.4 (Ubuntu) → gnome-keyring (Ubuntu)
Revision history for this message
boyqxr (boyqxr-unitedti) wrote :

Psiphon 3 also failed with the exact same error message on ubuntu 12.04 x64

tried to install gnome-keyring:i386 but it would have uninstalled gnome-keyring:amd64 and everything related to it including bluez.

Revision history for this message
kenjiru (kenjiru) wrote :

I have the same problem when running winecfg using wine-1.5 on Ubuntu 12.04 x64.

Revision history for this message
Nicholas (nicholasotley) wrote :

I installed the 64bit WINE 1.5 from the WINE PPA and it now allows FL Studio 10 to work without asking for /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

It seems the 64bit /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so is enough even though FL Studio is a 32bit app.

Revision history for this message
Nicholas (nicholasotley) wrote :

Sorry, that should read:

"It seems the 64bit /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so is enough even though FL Studio is a 32bit app."

Revision history for this message
xandsap (xandsap) wrote :

I have wine1.5 but I cannot even install dotnet20 or vcrun2010 via winetricks. Probably one of the reasons is p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so.

Revision history for this message
Nicholas (nicholasotley) wrote :

Are you sure you have the 64bit version installed?

rm -frv ~/.wine
sudo apt-get install wine1.5-amd64

Then reinstall the app you want with wine.

Revision history for this message
tnhh (tnhh) wrote :

I removed ~/.wine and installed wine1.5-amd64 but no Windows applications that use SSL work. So far I've tried pycrypto, Kindle for PC and Adobe Digital Editions.

Revision history for this message
xandsap (xandsap) wrote :

Wine in precise is 64-bit by default. That was my problem with dotnet20 and vcrun2010. Both installers detected 64-bit windows and refused to continue. That means that winetricks is broken since it tries to install 32-bit libraries.

Revision history for this message
Aaron Kinney (aaronjaykinney) wrote :

This bug has basically ended all 32bit WINE functionality for my 64bit machine, and every other 64bit machine running Ubuntu 12.04. This bug has been known since November 2011. This bug is unassigned.

More and more machines use 64bit operating systems nowadays. This is a rather large issue. Could we get some momentum on this bug please, and have it assigned?

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

This might be a Debian packaging problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649408

Revision history for this message
Nicholas (nicholasotley) wrote :

Found a 100% working fix:

"1) Install getlibs

wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb

sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb

2) Install the 32bit lib

getlibs -p gnome-keyring:i386

3) Make the symbolic link

sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

Now run your Crossover/Wine app and the error is gone."

Taken from http://askubuntu.com/questions/127848/wine-cant-find-gnome-keyring-pkcs11-so

Revision history for this message
tnhh (tnhh) wrote :

The instructions in #28 work for me. Thanks!

Revision history for this message
Julius Nefas (tachionas) wrote :

#28 Solutionnot so good for me i'm running 12.04 amd64 and i get :
"WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-9jSd2q/pkcs11: No such file or directory"
when trying launch wine.

Revision history for this message
efreeti (neoh-ys) wrote :

Is there a similar solution like #28 to Fedora? I built the 32 bit wine on my 64 bit machine. Nothing seems work.

Revision history for this message
xrdodrx (xrdodrx) wrote :

Launchpad is only for discussion of bugs in Ubuntu. Try reporting a bug on the Fedora bug tracker.

Revision history for this message
herta (herta-vandeneynde) wrote :

I had the same error running mailx. Executed "apt-get install gnome-keyring", and all is well again for me. Looks like it may simply be a missing dependency.

Revision history for this message
DFOXpro (dfoxpro) wrote :

I get this error:
wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb
sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
sudo getlibs -p gnome-keyring:i386
sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so': No such file or directory
Then i fixed making the folder path and the the .so file exacutable but now i still have problem with the program installation (AOE3)

wine autorun.exe
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
err:rpc:I_RpcGetBuffer no binding
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33f3ac L"Z:\\media\\3002900065A\\AOE III DVD (F)\\Age of Empires III.msi"
fixme:heap:HeapSetInformation 0x2c4000 0 0x23fcb0 4
fixme:atl:AtlModuleInit SEMI-STUB (0x40f900 0x40f010 0x400000)
err:ole:marshal_object couldn't get IPSFactory buffer for interface {36645116-7766-46cf-8235-b363bdcbc5f3}
err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=3f00000040, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d

Im using the wine 1.5 ppa

Revision history for this message
mattismyname (mattismyname) wrote :

I run into this after uninstalling gnome-keyring (I prefer keychain).

Revision history for this message
Ken Sharp (kennybobs) wrote :

There is absolutely no need to keep adding comments, this bug is already confirmed!

Revision history for this message
Scott Ritchie (scottritchie) wrote :

libbonobo and libfreeglut are in the SRU process for multiarch migrations of their libraries, I believe something similar could be done for gnome-keyring to get the fix into precise.

Revision history for this message
Dirk Möbius (dmoebius-deactivatedaccount-deactivatedaccount) wrote :
Download full text (5.3 KiB)

Solution #28 is not good for me, because it wants to install ia32-libs, meaning virtually *all* i386 will be installed:

# sudo getlibs -p gnome-keyring:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  python-bluez
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bluez-alsa:i386 glib-networking:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386
  gstreamer0.10-x:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 gtk2-engines-oxygen:i386 gtk2-engines-pixbuf:i386
  gvfs:i386 gvfs-libs:i386 ia32-libs-multiarch:i386 ibus-gtk:i386 libaa1:i386 libaio1:i386 libao-common libao4:i386
  libatk1.0-0:i386 libaudio2:i386 libaudiofile1:i386 libavc1394-0:i386 libcairo-gobject2:i386 libcairo2:i386
  libcanberra-gtk-module:i386 libcanberra-gtk0:i386 libcanberra0:i386 libcap2:i386 libcdparanoia0:i386
  libcupsimage2:i386 libcurl3:i386 libdatrie1:i386 libdbus-glib-1-2:i386 libdv4:i386 libesd0:i386 libgail-common:i386
  libgail18:i386 libgconf-2-4:i386 libgdbm3:i386 libgdk-pixbuf2.0-0:i386 libgtk2.0-0:i386 libgudev-1.0-0:i386
  libibus-1.0-0:i386 libidn11:i386 libiec61883-0:i386 libjasper1:i386 libmng1:i386 libmysqlclient18:i386 libnspr4:i386
  libnss3:i386 libodbc1:i386 libpango1.0-0:i386 libpixman-1-0:i386 libproxy1:i386 libpulse-mainloop-glib0:i386
  libpulsedsp:i386 libqt4-dbus:i386 libqt4-declarative:i386 libqt4-designer:i386 libqt4-network:i386
  libqt4-opengl:i386 libqt4-qt3support:i386 libqt4-script:i386 libqt4-scripttools:i386 libqt4-sql:i386
  libqt4-sql-mysql:i386 libqt4-svg:i386 libqt4-test:i386 libqt4-xml:i386 libqt4-xmlpatterns:i386 libqtcore4:i386
  libqtgui4:i386 libqtwebkit4:i386 libraw1394-11:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp0:i386
  libsdl-net1.2:i386 libsdl-ttf2.0-0:i386 libshout3:i386 libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libspeex1:i386
  libssl0.9.8:i386 libstdc++5:i386 libtag1-vanilla:i386 libtag1c2a:i386 libtdb1:i386 libthai0:i386 libtheora0:i386
  libvisual-0.4-0:i386 libvisual-0.4-plugins:i386 libwavpack1:i386 libxaw7:i386 libxcb-render0:i386 libxcb-shm0:i386
  libxft2:i386 libxmu6:i386 libxp6:i386 libxss1:i386 libxtst6:i386 libxv1:i386 odbcinst1debian2:i386 xaw3dg:i386
Suggested packages:
  murrine-themes:i386 kde-config-gtk-style:i386 libpam-ldap:i386 libpam-winbind:i386 libnss-ldap:i386 libroar1:i386
  libsndio0:i386 roaraudio-server:i386 nas:i386 libcanberra-pulse:i386 libdv-bin:i386 pulseaudio-esound-compat:i386
  libjasper-runtime:i386 libmyodbc:i386 odbc-postgresql:i386 tdsodbc:i386 unixodbc-bin:i386 ttf-baekmuk:i386
  ttf-arphic-gbsn00lp:i386 ttf-arphic-bsmi00lp:i386 ttf-arphic-gkai00mp:i386 ttf-arphic-bkai00mp:i386
  libqt4-declarative-folderlistmodel:i386 libqt4-declarative-gestures:i386 libqt4-declarative-particles:i386
  libqt4-declarative-shaders:i386 qt4-qmlviewer:i386 libqt4-dev:i386 qt4-qtconfig:i386 libraw1394-doc:i386
  librsvg2-bin:i386 speex:i386
The following NEW packages will be installed:
  bluez-alsa:i386 glib-networking:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386
  gstreamer0.10-x:i...

Read more...

Revision history for this message
Dirk Möbius (dmoebius-deactivatedaccount-deactivatedaccount) wrote :

Isn't there another simple way to install the 32bit version of gnome-keyring-pkcs11.so ?!?

Revision history for this message
Andrea Lazzarotto (Lazza) (andrea-lazzarotto) wrote :

Dirk, yes because it's a bit wrong, you need to do some symlinking. See here for my procedure (in Italian, but bash is always bash): http://andrealazzarotto.com/2012/08/27/quando-wine-non-trova-gnome-keyring-pkcs11-so/

Revision history for this message
cement_head (andorjkiss) wrote :

No, that does not work either.

Totally broken on 12.04

- CH

Revision history for this message
Andrea Lazzarotto (Lazza) (andrea-lazzarotto) wrote :

Since I test every tutorial I write and I've used it personally and I have a fully working Wine after that, could you check twice before saying my instructions don't work?

Revision history for this message
herta (herta-vandeneynde) wrote : Re: [Bug 885492] Re: p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

Sorry, but my reply to this bug dates back to June 2. I merely stated what
worked for me. I do not recall criticizing your instructions. Am I
missing something?

On 23 September 2012 21:12, Andrea Lazzarotto (Lazza) <
<email address hidden>> wrote:

> Since I test every tutorial I write and I've used it personally and I
> have a fully working Wine after that, could you check twice before
> saying my instructions don't work?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/885492
>
> Title:
> p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-
> keyring-pkcs11.so
>
> Status in “gnome-keyring” package in Ubuntu:
> Confirmed
>
> Bug description:
> whenever I try to do a `git push`, I get this error:
>
>
> `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`
>
>
> Distributor ID: Ubuntu
> Description: Ubuntu precise (development branch)
> Release: 12.04
> Codename: precise
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/885492/+subscriptions
>

--
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."

Revision history for this message
Andrea Lazzarotto (Lazza) (andrea-lazzarotto) wrote :

herta, I was replying to the comment immediately above, written by cement_head. :) If you have enabled email notifications you receive every comment made on this bug report.

Revision history for this message
herta (herta-vandeneynde) wrote :

Ah, yes, of course. I was confused because the mail was sent from your
address and only mentioned my address as recipient.
Sorry, it's been a hectic few months. Just ignore.

On 23 September 2012 22:43, Andrea Lazzarotto (Lazza) <
<email address hidden>> wrote:

> herta, I was replying to the comment immediately above, written by
> cement_head. :) If you have enabled email notifications you receive
> every comment made on this bug report.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/885492
>
> Title:
> p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-
> keyring-pkcs11.so
>
> Status in “gnome-keyring” package in Ubuntu:
> Confirmed
>
> Bug description:
> whenever I try to do a `git push`, I get this error:
>
>
> `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`
>
>
> Distributor ID: Ubuntu
> Description: Ubuntu precise (development branch)
> Release: 12.04
> Codename: precise
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/885492/+subscriptions
>

--
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."

Revision history for this message
usrr (t8634) wrote :

Xubuntu 12.04
Wine 1.5.15

trying to start lotro with pylotro => same error

Revision history for this message
Symax (ayourk) wrote :

My solution that works in raring:

apt-get install libp11-kit-gnome-keyring:i386

Error message gone. Other messages exist however.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.