Results 1 to 10 of 10

Thread: Running 32bit applications

  1. #1

    Unhappy Running 32bit applications

    How do I run 32 bit applications on OpenSuse 64 bit? In other words, how do I install the necessary libraries?
    There is an old thread on this but it doesn't give help. So how hard can this be?

    Help is appreciated!

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,889

    Default AW: Running 32bit applications

    Run the Application from command line and if there are missing Libs, install them by Yast, zypper or rpm....

    See your other thread.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,520
    Blog Entries
    15

    Default Re: Running 32bit applications

    Quote Originally Posted by michielper View Post
    How do I run 32 bit applications on OpenSuse 64 bit? In other words, how do I install the necessary libraries?
    There is an old thread on this but it doesn't give help. So how hard can this be?

    Help is appreciated!
    Hi
    So use YaST or zypper to search for the library name, for example libXext;
    Code:
    zypper se libXext
    Loading repository data...
    Reading installed packages...
    
    S | Name                | Summary                                                 | Type   
    --+---------------------+---------------------------------------------------------+--------
      | libXext-devel       | Development files for the X11 Common Extensions library | package
      | libXext-devel-32bit | Development files for the X11 Common Extensions library | package
    i | libXext6            | Common extensions to the X11 protocol                   | package
      | libXext6-32bit      | Common extensions to the X11 protocol                   | package
    
    zypper in libXext6-32bit
    So search and install the package with the -32bit extension...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Unhappy Re: AW: Running 32bit applications

    Quote Originally Posted by Sauerland View Post
    Run the Application from command line and if there are missing Libs, install them by Yast, zypper or rpm....

    See your other thread.
    This only works if the 32bit application clearly lists the libs it is missing but that is seldom the case. Many applications simply state that it they are built for an 32bit architecture so cannot run on a 64 bit architecture. So I am looking for a simple script that installs all the normal 32bit libraries.

    Regarding the other thread, someone suggested to check the X86 Runtime Environment in Yast/Software Management. This doesn't work.

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,520
    Blog Entries
    15

    Default Re: Running 32bit applications

    On Fri 04 Aug 2017 08:56:02 PM CDT, michielper wrote:

    Sauerland;2832793 Wrote:
    > Run the Application from command line and if there are missing Libs,
    > install them by Yast, zypper or rpm....
    >
    > See your other thread.


    This only works if the 32bit application clearly lists the libs it is
    missing but that is seldom the case. Many applications simply state that
    it they are built for an 32bit architecture so cannot run on a 64 bit
    architecture. So I am looking for a simple script that installs *all*
    the normal 32bit libraries.

    Regarding the other thread, someone suggested to check the X86 Runtime
    Environment in Yast/Software Management. This doesn't work.


    Hi
    If you run the ldd command against the library or binary, you will get a
    list of all the libraries and if not found. A process of elimination....

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2|GNOME 3.20.2|4.4.74-18.20-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  6. #6

    Default Re: Running 32bit applications

    Quote Originally Posted by malcolmlewis View Post
    Hi
    If you run the ldd command against the library or binary, you will get a
    list of all the libraries and if not found. A process of elimination....

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2|GNOME 3.20.2|4.4.74-18.20-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!
    Alright, this seems promising. But does ldd check if the library is 32 or 64 bit? Because I read that they often have the same name!
    I will try ldd binairy | grep found

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,520
    Blog Entries
    15

    Default Re: Running 32bit applications

    Quote Originally Posted by michielper View Post
    Alright, this seems promising. But does ldd check if the library is 32 or 64 bit? Because I read that they often have the same name!
    I will try ldd binairy | grep found
    Hi
    It will either be /usr/lib (32 bit) or /usr/lib64....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8

    Thumbs up Re: Running 32bit applications

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It will either be /usr/lib (32 bit) or /usr/lib64....
    Ok, this seems to work alright!
    1. ldd <binairy> | grep found > notfound.txt
    2. gedit notfound.txt --> make a string of all the libraries that werent found, copy it to the clipboard
    3. sudo zypper install <paste the string> --> During installation of the libraries, some errors were encountered but the 32bit application did eventually run.

    Of course this could be done nicer with awk ;-)

    Thanks for the help!

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,871

    Default Re: Running 32bit applications

    Quote Originally Posted by michielper View Post
    Of course this could be done nicer with awk ;-)

    Thanks for the help!
    It could be done nicer by telling the maintainer of the application that we live in the 64-bit world already for a considerable time and that action might be required.
    Henk van Velden

  10. #10

    Default Re: Running 32bit applications

    Quote Originally Posted by hcvv View Post
    It could be done nicer by telling the maintainer of the application that we live in the 64-bit world already for a considerable time and that action might be required.
    Somewhat peripheral to this discussion: I use WordPerfect 8.1 with Tumbleweed and earlier 64 bit SuSE. (WP8.1 is an unofficial designation for the version of WP8 Linux that was bundled with Corel Linux - Debian). Installation is a bit complicated, involving stripping the tar balls out of the original Debian packages and some manual configurations. The ancient SuSE shlibs5 and type1inst packages are needed.

    The installation works, but printing is not available. This goes back to glibc2.3.2 and later versions which are incompatible with WP8's print support. However, there are some workarounds, e.g. save as a postscript file and send that to the printer, or save as a normal .wpd file and open it in Libre Office, which has an import filter and also recognizes the Type1 fonts installed by WP8.

    I have also noticed that installing CrossOver Office will also suck in a lot of 32-bit packages. Unfortunately, the Window$ versions of WP do not run either in the recent CrossOver releases. Probably the best solution, which I have not tried yet, is to run an ancient pre glibc2.3.1 32-bit Linux release that supports WP8 in a virtual machine.

Posting Permissions

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