[HOWTO] Running 32bit apps in 64bit Porteus Edition

Post tutorials, HOWTO's and other useful resources here.
User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

[HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#1 by fanthom » 08 Jan 2011, 08:24

Porteus 64bit edition has support for executing of 32bit applications built into kernel.
However, applications which are not compiled statically still needs 32bit shared libraries to run.

compat32-libraries module can be downloaded from this location:
http://dl.porteus.org/x86_64/current/extras/

Enjoy
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: [HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#2 by francois » 04 May 2011, 01:20

This is a useful package. Some software are not yet ready for 64 bit OS.

Posted after 1 day 22 hours 11 minutes 30 seconds:
I did not had to reboot the system to get compat and multilib to work with openoffice us 3.1 32 bit module.
Thanks to ponce.

I think I will try that first. If it works for my hp laserjet 3030, I will see if it adapts for Brother printers.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: [HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#3 by francois » 20 Sep 2011, 22:40

Had this module been built on Eric Hameleers' multilib packages?
Prendre son temps, profiter de celui qui passe.

lachman
White ninja
White ninja
Posts: 9
Joined: 11 Nov 2011, 00:50
Location: Boston

Re: [HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#4 by lachman » 13 Nov 2011, 20:31

I wanted to share my recent experience in this area. I've been using a 32 bit OS and moved over to Porteus/Slackware64. One thing I depend on is WINE, both for building (wineg++) and running windows compatible software. I tried the packages above and ended up going to straight to alien's multilib libraries:

http://slackware.com/~alien/multilib/
see also:
http://alien.slackbook.org/dokuwiki/dok ... e:multilib

I got all the multilib packages from alien and applied txz2xzm. Alls these modules came out to be quite large (~200mb). Last thing I wanted was to bulken up my porteus setup, so I started throwing away modules i didn't think i needed. Ended up with (~60mb):

aaa_elflibs-compat32-13.37-x86_64-7.xzm
gcc-4.5.2_multilib-x86_64-2alien.xzm
gcc-g++-4.5.2_multilib-x86_64-2alien.xzm
glibc-2.13_multilib-x86_64-4alien.xzm
glibc-solibs-2.13_multilib-x86_64-4alien.xzm
gstreamer-compat32-0.10.32-x86_64-1.xzm
libICE-compat32-1.0.7-x86_64-1.xzm
libSM-compat32-1.2.0-x86_64-1.xzm
libX11-compat32-1.4.3-x86_64-2.xzm
libXau-compat32-1.0.6-x86_64-1.xzm
libXdmcp-compat32-1.1.0-x86_64-1.xzm
libXext-compat32-1.2.0-x86_64-1.xzm
libxcb-compat32-1.7-x86_64-1.xzm
mpg123-compat32-1.13.3-x86_64-1.xzm
util-linux-compat32-2.19-x86_64-1.xzm


I got the latest 32 bit wine from:
http://sourceforge.net/projects/wine/fi ... 0Packages/

and I was now able to do everything i could before in 32 bit wine/linux world. If you are missing a 32bit library while running a 32 bit app, install alien's multilib libraries, even the whole thing as suggested in his guide. If you are still missing a library, check out packages from the slackware 32 bit package tree.

edge226
Contributor
Contributor
Posts: 98
Joined: 27 Feb 2012, 23:55
Location: Canada

Re: [HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#5 by edge226 » 29 Feb 2012, 20:56

Hi, I have created my own multilib packages as follows:

multilib-x86_64.xzm - containing all required gcc and glibc packages.
compat32-x86_64.xzm - containing everything regarding compat32.

since http://ponce.cc/testing/porteus.old/modules/multilib/ states it is unsafe to build kernel required modules like vbox and that these modules will not deactivate properly I wanted to create a separate bootloader entries for 64-bit and multilib.

modifying /boot/porteus.cfg as such:

Code: Select all

LABEL kde-multilib                                                          
MENU LABEL Graphics mode (KDE multilib)                                     
KERNEL /boot/vmlinuz                                               
APPEND initrd=/boot/initrd.xz vga=791 changes=/porteus/ fsck vga-detect load=compat32 load=multilib
TEXT HELP                                                              
    Run Porteus the best way we can.                                   
    Try to autoconfigure graphics                                      
    card and use the maximum                                           
    allowed resolution                                                 
ENDTEXT
I tried loading the multilib line, same result as the standard line. Loading compat32 and then multilib manually does work, however when trying to load the modules with ppm it says that the modules are not valid.

How can I get this to load those modules properly upon boot?

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: [HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#6 by Hamza » 29 Feb 2012, 21:08

I don't know, PPM has been written to be compatible with multilib as it checks each packages.

Please report your issue on PPM topic or open a thread for your issue.
NjVFQzY2Rg==

inukaze
Black ninja
Black ninja
Posts: 47
Joined: 06 Jul 2023, 07:40
Distribution: Slackware

[HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#7 by inukaze » 22 Aug 2023, 16:59

Where i can download the Compat-32 Libs modules for Porteus v5.0 x86_64 ?
i explore in http://dl.porteus.org/x86_64/Porteus-v5.0/ but i can't file modules for enable 32 Bits compatibility

Someone had the modules for Download ?

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

[HOWTO] Running 32bit apps in 64bit Porteus Edition

Post#8 by tome » 23 Aug 2023, 10:33

https://github.com/porteux/porteux/releases and under Assets multilib-stable.zip
You have mind and feelings. Be wise and clever.

Post Reply