Results 1 to 5 of 5

Thread: Running a 32bit app on a 64bit system?

  1. #1
    Join Date
    Jul 2008
    Beans
    788
    Distro
    Ubuntu 10.04 Lucid Lynx

    Running a 32bit app on a 64bit system?

    Hi all.

    I've been trying out papyrus UML modeller as an eclipse plugin, but would like to give the standalone a try as well. Unfortunately it only comes as a x86 version with no x86_64 available. I am running a 64bit Ubuntu and this is causing a few problems.

    I've tried extracting the x86 version and running it, but I get what seem to be the typical error messages:

    Code:
    /usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
    Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
    /usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
    Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
    /usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64
    Failed to load module: /usr/lib/gio/modules/libgiogconf.so
    Am I correct in assuming that this is saying that it can only find the 64bit libraries and therefore is unable to run?

    Therefore is there a way to get it to run on a 64bit system? Perhaps there is a way to give it the 32bit libraries it needs without affecting the rest of my system?
    Any sufficiently advanced bug is indistinguishable from a feature.
    "Ubuntu" - an African word meaning "Gentoo is too hard for me"
    unexpected token <EOF> expected "WITTY ONE-LINER"

  2. #2
    Join Date
    Sep 2007
    Beans
    33

    Re: Running a 32bit app on a 64bit system?

    I'm not sure if this will help or not, but i believe the package ia32-libs has something to do with 32 bit compatibility under 64 bit.

    sudo apt-get install ia32-libs

    I can't help with your specific problem tho...

    cheers,
    Michael

  3. #3
    Join Date
    Jul 2008
    Beans
    788
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Running a 32bit app on a 64bit system?

    Quote Originally Posted by thedarkwinter View Post
    I'm not sure if this will help or not, but i believe the package ia32-libs has something to do with 32 bit compatibility under 64 bit.

    sudo apt-get install ia32-libs

    I can't help with your specific problem tho...

    cheers,
    Michael
    Thank you for your reply.

    That was what I thought too. I have ia32-libs installed (probably should've mentioned that sorry). I've noticed that the ati proprietary fglrx drivers (for example) use 32bit libraries provided by the ia32-libs package and I was hoping that papyrus would do the same. however it looks like it needs to be specifically coded as a 32bit app that will be running on a 64bit system in order to know how to access those ia32-libs libraries.

    Well if anyone else has any suggestions I would be most appreciative.

    Otherwise I'm going to run it standalone under Vista (aieeeeeee) or just keep it running as an eclipse plugin until a standalone 64bit linux version becomes available.
    Any sufficiently advanced bug is indistinguishable from a feature.
    "Ubuntu" - an African word meaning "Gentoo is too hard for me"
    unexpected token <EOF> expected "WITTY ONE-LINER"

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    2,185
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Running a 32bit app on a 64bit system?

    It looks like your 32-bit program is trying to load 64-bit libraries, which doesn't work. You'll need the 32-bit versions of those libraries.

    Have a look at getlibs, that should be able to automatically find and install the 32-bit libraries that your specific program needs.
    Ubuntu 12.04

  5. #5
    Join Date
    Jul 2008
    Beans
    788
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Running a 32bit app on a 64bit system?

    Quote Originally Posted by jespdj View Post
    It looks like your 32-bit program is trying to load 64-bit libraries, which doesn't work. You'll need the 32-bit versions of those libraries.

    Have a look at getlibs, that should be able to automatically find and install the 32-bit libraries that your specific program needs.
    That is awesome! Looks like exactly what I'm looking for. I will definitely give this a try .
    Any sufficiently advanced bug is indistinguishable from a feature.
    "Ubuntu" - an African word meaning "Gentoo is too hard for me"
    unexpected token <EOF> expected "WITTY ONE-LINER"

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
  •