Page 1 of 1

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

Posted: 08 Jan 2011, 08:24
by fanthom
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

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

Posted: 04 May 2011, 01:20
by francois
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.

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

Posted: 20 Sep 2011, 22:40
by francois
Had this module been built on Eric Hameleers' multilib packages?

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

Posted: 13 Nov 2011, 20:31
by lachman
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.

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

Posted: 29 Feb 2012, 20:56
by edge226
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?

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

Posted: 29 Feb 2012, 21:08
by Hamza
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.

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

Posted: 22 Aug 2023, 16:59
by inukaze
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 ?

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

Posted: 23 Aug 2023, 10:33
by tome
https://github.com/porteux/porteux/releases and under Assets multilib-stable.zip