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

Post tutorials, HOWTO's and other useful resources here.

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

Postby fanthom » 08 Jan 2011, 09: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
fanthom
Site Admin
Site Admin
 
Posts: 4450
Joined: 28 Dec 2010, 03:42
Location: Poland, currently - Cork, IE
Distribution: Porteus Kiosk

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

Postby francois » 04 May 2011, 02: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.
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4465
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

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

Postby francois » 20 Sep 2011, 23:40

Had this module been built on Eric Hameleers' multilib packages?
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4465
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

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

Postby lachman » 13 Nov 2011, 21: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.
lachman
White ninja
White ninja
 
Posts: 9
Joined: 11 Nov 2011, 01:50
Location: Boston

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

Postby edge226 » 29 Feb 2012, 21: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?
edge226
Contributor
Contributor
 
Posts: 98
Joined: 28 Feb 2012, 00:55
Location: Canada

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

Postby Hamza » 29 Feb 2012, 22: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==
User avatar
Hamza
root@porteus.org:/#
root@porteus.org:/#
 
Posts: 1845
Joined: 28 Dec 2010, 08:41
Location: France
Distribution: Porteus


Return to Tutorials



Who is online

Users browsing this forum: No registered users and 3 guests