Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

  1. #11
    Join Date
    Aug 2008
    Location
    South Korea
    Beans
    17
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    Feedback...

    sudo apt-get install ia32-libs
    [sudo] password for gandalf:
    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:
    ia32-libs : Depends: ia32-libs-multiarch
    E: Unable to correct problems, you have held broken packages.

    Installed Ubuntu 12.10 amd64 just yesterday.

  2. #12
    Join Date
    Feb 2010
    Location
    Kansas City, MO
    Beans
    30
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    Quote Originally Posted by cwwilson721 View Post
    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
    That wasn't enough to fix the problem for me, so I decided to find out where the gnome-keyring-pkcs11.so file was located by running the following:

    Code:
    sudo find -name gnome-keyring-pkcs11.so
    Which told me it was located at
    Code:
    /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
    So, I ran

    Code:
    sudo ln -s /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
    After the fact, I realized you had recommended making gnome-keyring-pkcs11.so executable, so I did that too.

    My problem is that it now gives me a new error:

    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: wrong ELF class: ELFCLASS64
    Which lead me to comment on the following bug: https://bugs.launchpad.net/ubuntu/+s...t/+bug/1027299

  3. #13
    Join Date
    Feb 2010
    Location
    Kansas City, MO
    Beans
    30
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    Quote Originally Posted by xv1700 View Post
    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
    This worked for me and I installed wine 1.5 with the following steps:

    Code:
    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo aptitude full-upgrade
    When I ran aptitude, it asked if it should uninstall the previous version of wine because it wouldn't be able to install wine 1.5 unless it did. I said yes to go ahead and uninstall the previous version.

    In order to get rid of the error, I also had to uninstall the troublesome application from wine and re-install it. However, the application still won't run and has another error I'm working on.

  4. #14
    Join Date
    Feb 2010
    Location
    Kansas City, MO
    Beans
    30
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    Upgrading to wine1.5 helps because wine1.5 ignores the error, but to actually get rid of the error, follow the answer given on askubuntu:

    http://askubuntu.com/questions/12784...ring-pkcs11-so

    Which is to first delete the link you may have created by following advice on this page, and then do the following:


    Code:
    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 mkdir -p /usr/lib/i386-linux-gnu/pkcs11/ 
    sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
    That's 5 commands executed one at a time.

  5. #15
    Join Date
    Mar 2006
    Location
    Oxford, OH, USA
    Beans
    1,055
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    Correct, newer versions of WINE shouldn't have this error.

    - CH
    ________________________________
    System76 Lemur Laptop
    Ubuntu Xenial Xerus LTS 16.04
    Linux Registered User #434330

  6. #16
    Join Date
    Apr 2012
    Beans
    150
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    Not working on 12.10 64-bit. Just did a fresh install of 12.10, then installed WINE 1.5x. Same error. And there is no directory lib32.

    Had to create the lib32 directory manually:

    Code:
    sudo mkdir /usr/lib32
    then this worked:

    Code:
    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 mkdir -p /usr/lib/i386-linux-gnu/pkcs11/ 
    sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
    However, I still get errors:

    Code:
    fixme:storage:create_storagefile Storage share mode not implemented.
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    fixme:storage:create_storagefile Storage share mode not implemented.
    fixme:iphlpapi:NotifyAddrChange (Handle 0xffe8d0, overlapped 0xffe8dc): stub
    Last edited by MrsUser; January 15th, 2013 at 11:53 PM.

  7. #17
    Join Date
    Aug 2011
    Beans
    4

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    What appeared to fix this for me was to add the wine ppa to get the latest wine. With that and the normal update, upgrade, the problem resolved. What is maddening is that this very same wine setup worked last week and this week was broken. That has to mean that a normal "approved" update broken my system.

    This is just another in a long string of updates that has broken my ubuntu installes. If I could find something that worked better than Ubuntu I would probably move.

  8. #18
    Join Date
    Mar 2010
    Beans
    16

    Talking Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    I'm using Ringtail x64 (13.04) with WINE 1.4. The path for me was actually /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so and not /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so as it says above. I changed that, and the error has gone away, but I still can't run Photoshop CS4 from my old XP install. That's more an issue with Photoshop I think, rather than WINE.
    Last edited by sdgiffin; May 13th, 2013 at 03:19 AM.

  9. #19
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    I get this error, and my .so file is all ready in BOTH of those directories, what should I do when I get the error of opening shared object error? Running Wine 1.6... Ubuntu 13.04 64..

  10. #20
    Join Date
    Mar 2011
    Beans
    5

    Re: p11-kit error Workaround WINE in AMD64 Ubuntu 12.04

    I had the same problem with Wine and I solved it by downloading gnome-keyring_3.2.2-2ubuntu4_i386.deb from http://packages.ubuntu.com/precise/i...yring/download and extracting the file CONTENTS/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so and putting it to /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
    Hope it helps somebody.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •