Page 1 of 2 12 LastLast
Results 1 to 10 of 21

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

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Location
    Oxford, OH, USA
    Beans
    1,003
    Distro
    Ubuntu 12.04 Precise Pangolin

    Lightbulb 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

    Code:
    $ gksu nautilus
    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
    ________________________________
    DELL e6420 Laptop
    Ubuntu Pagolin Precise 12.04 LTS
    Linux Registered User #434330

  2. #2
    Join Date
    May 2010
    Location
    Where God goes to rest:AL
    Beans
    575
    Distro
    Ubuntu 11.10 Oneiric Ocelot

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

    Quote Originally Posted by cement_head View Post
    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

    Code:
    $ gksu nautilus
    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
    Running wine/WoW on a AMD Athlon 64 X2 5200+(2.6GHz)w/4GB DDRII(667) and a NV9600GSO w/768MB DDRIII.

  3. #3
    Join Date
    Mar 2006
    Location
    Oxford, OH, USA
    Beans
    1,003
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Quote Originally Posted by cwwilson721 View Post
    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
    ________________________________
    DELL e6420 Laptop
    Ubuntu Pagolin Precise 12.04 LTS
    Linux Registered User #434330

  4. #4
    Join Date
    May 2010
    Location
    Where God goes to rest:AL
    Beans
    575
    Distro
    Ubuntu 11.10 Oneiric Ocelot

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

    Quote Originally Posted by cement_head View Post
    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...)
    Last edited by cwwilson721; September 24th, 2012 at 08:13 PM. Reason: Spelling
    Running wine/WoW on a AMD Athlon 64 X2 5200+(2.6GHz)w/4GB DDRII(667) and a NV9600GSO w/768MB DDRIII.

  5. #5
    Join Date
    Mar 2006
    Location
    Oxford, OH, USA
    Beans
    1,003
    Distro
    Ubuntu 12.04 Precise Pangolin

    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
    ________________________________
    DELL e6420 Laptop
    Ubuntu Pagolin Precise 12.04 LTS
    Linux Registered User #434330

  6. #6
    Join Date
    May 2010
    Location
    Where God goes to rest:AL
    Beans
    575
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    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
    Running wine/WoW on a AMD Athlon 64 X2 5200+(2.6GHz)w/4GB DDRII(667) and a NV9600GSO w/768MB DDRIII.

  7. #7
    Join Date
    Mar 2010
    Beans
    14

    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.

  8. #8
    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.

  9. #9
    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.

  10. #10
    Join Date
    Mar 2006
    Location
    Oxford, OH, USA
    Beans
    1,003
    Distro
    Ubuntu 12.04 Precise Pangolin

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

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

    - CH
    ________________________________
    DELL e6420 Laptop
    Ubuntu Pagolin Precise 12.04 LTS
    Linux Registered User #434330

Page 1 of 2 12 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
  •