How to run 32-bit programs on this Pup? Abandoned

Moderator: Forum moderators

Post Reply
Mercedes350se
Posts: 80
Joined: Tue Nov 24, 2020 3:34 am
Has thanked: 44 times
Been thanked: 1 time

How to run 32-bit programs on this Pup? Abandoned

Post by Mercedes350se »

I would like to run some 32 bit programs that I would prefer not to live without on this frugal install.

However I have fallen over at the first - SMM email checker. I have brought this forward, probably from 3.01, up to Bionic32.

I am currently getting:

Code: Select all

# smm
bash: /bin/smm: cannot execute: required file not found

Properties of the file /bin/smm show that the real file is /usr/bin/smm (which exists). Permissions seem to be in order.

Ideas please.

The other programs are the time wasters Freecell and Sudoku. Similarly these have been brought forward up to Bionic32. I have found 64 bit versions of these but I much prefer the look and feel of the 32 bit versions.

Last edited by Mercedes350se on Sat Jul 15, 2023 3:14 am, edited 1 time in total.
User avatar
Chelsea80
Posts: 361
Joined: Tue Mar 09, 2021 12:44 am
Has thanked: 47 times
Been thanked: 75 times

Re: Running 32 bit programs on this Pup

Post by Chelsea80 »

@ Mercedes350se

Try here for Freecell:

https://forum.puppylinux.com/viewtopic.php?t=559

The post date is 20 Aug 2020 so would probably be 32bit -

Try here for Sudoku:

https://oldforum.puppylinux.com/viewtopic.php?t=26635

The post date is 24 Feb 2008 so would probably be 32bit -

Scroll down to You might also like for different versions -

Best regards

Chelsea80

Chelsea80

1. BionicPup32+28 19.03 - Linux 4.9.163 - lxpup - 32-pae [i686] - (UPup Bionic Beaver)
....Frugal Install - Internal HDD - Gateway MX8716b - HDD 120GB - RAM 2GB

2. Friendly-Bionic32 v1.1
....USB Stick 2GB

dimkr
Posts: 2423
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: Running 32 bit programs on this Pup

Post by dimkr »

Try this:

Code: Select all

dpkg --add-architecture i386
apt update
apt install libx11-6:i386
User avatar
mikeslr
Posts: 2963
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 917 times

Re: Running 32 bit programs on this Pup

Post by mikeslr »

Mercedes350se "I would like to run some 32 bit programs that I would prefer not to live without on this frugal install."

The following may be wrong for at least two reasons: (1) I'm not that familiar with everything BookwormPup64 has to offer; and (2) I'm still working on my first cup of coffee to clear the cobwebs from my mind.

BookwormPup64 is a 64-bit Operating system. To run 32-bit Applications you'll need to employ some type of 'emulation' layer. Perhaps peebee's 32bit-compat-s15pup64-22.12.sfs, viewtopic.php?p=78294#p78294 could be loaded. But BookwormPup64 follows the 'usr-merge' Rule while that 32-bit compatibility SFS --in fact AFAIK ALL 32-bit compatibility SFSes-- don't. You might try restructuring such SFS: mount the original, copy its contents into a folder, move libraries to so as comply with the Rule, and repackage. But I suspect you'll run into the same problem I had here, viewtopic.php?p=79525#p79525

If 32-bit programs for Windows exist for the applications you want, you may be more successful running those under Mikewalsh's Wine-portable, viewtopic.php?p=68191#p68191. I've use the 5.11 under other 'User-Merge' Puppys. I'm still too fuzzy headed to figure out whether the smaller 4.0.4 could be used.

Fortunately, while I was typing dimkr explained how to add 32-bit applications to Bookwormpup64.

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: Running 32 bit programs on this Pup

Post by bigpup »

The problem is Bookworm Pup64 does not have in it support files to run 32bit software.

Most Puppy versions provide this 32bit software support by loading a 32bit compatibility sfs to provide needed support.

Bookworm Pup64 does not have this SFS to download and use.

Try doing what dimkr suggests.

See if that provides the needed support to run 32bit software.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikeslr
Posts: 2963
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 917 times

Re: Running 32 bit programs on this Pup

Post by mikeslr »

bigpup is right; but it's the other way around. Most Puppys could not directly support multi-architecture. [DebianDogs have been able to since AFAIK their first appearance*. So I think can FatDog]. Puppys employment of a compatibility SFS is a 'work-around'. It's good to know that Bookworm and perhaps other recent Puppys** have overcome that limitation. My guess is that we can thank that to dimkr's efforts to bring Puppys closer to debian/ubuntu standards.

* dimkr's recipe i strikingly similar to what I recall of fredx181's under debiandogs.

** Almost certainly dimkr's own VanillaDups; maybe, jrb's Another Jammypup.

Mercedes350se
Posts: 80
Joined: Tue Nov 24, 2020 3:34 am
Has thanked: 44 times
Been thanked: 1 time

Re: How to run 32-bit programs on this Pup?

Post by Mercedes350se »

Tried dimkr suggestion but get the following:

Code: Select all

<snip>
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libx11-6 : Breaks: libx11-6:i386 (!= 2:1.8.4-2) but 2:1.8.4-2+deb12u1 is to be installed
 libx11-6:i386 : Breaks: libx11-6 (!= 2:1.8.4-2+deb12u1) but 2:1.8.4-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

The question then is , "Why are there 32 bit libs in the original install if the OS cannot run 32 bit programs?"

Mercedes350se
Posts: 80
Joined: Tue Nov 24, 2020 3:34 am
Has thanked: 44 times
Been thanked: 1 time

Re: How to run 32-bit programs on this Pup?

Post by Mercedes350se »

@Chelsea80

Thanks for the link but I already have the 32 bit versions - I am after the 64 bit that will produce a game that looks like the Freecell in amethyst's screenshot.

dimkr
Posts: 2423
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: How to run 32-bit programs on this Pup?

Post by dimkr »

Mercedes350se wrote: Fri Jul 14, 2023 2:37 am

libx11-6 : Breaks: libx11-6:i386 (!= 2:1.8.4-2) but 2:1.8.4-2+deb12u1 is to be installed

Try apt install libx11-6:i386=2:1.8.4-2 if you want to avoid updates to 64-bit packages.

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: How to run 32-bit programs on this Pup?

Post by bigpup »

The original idea of 64bit Puppy versions not having anything in them to run 32bit software was to cut down on the size of the Puppy version ISO.
Plus, if it is 64bit Linux OS would not 64bit software want to be used.

But to keep it still able to run 32bit software.
The 32bit compatibility SFS was produced.
This you could download and load into the operating file system to give you ability to run 32bit software.
Do not want to run anything that is 32bit.
Unload this SFS.

some of the newer 64bit versions of OS's on this forum, may come with 32bit software support stuff in them.

As you can see by trying to use apt to download and install needed 32bit software support.
It is not that simple a thing to do.
Figuring out exactly what to add, it seems, is not a simple thing.

by the problems I have had, getting the software that apt in Bookworm Pup64, can provide.
I think some of the issues have to do with getting the added software from a repository that is software for Debian Linux OS.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Mercedes350se
Posts: 80
Joined: Tue Nov 24, 2020 3:34 am
Has thanked: 44 times
Been thanked: 1 time

Re: How to run 32-bit programs on this Pup?

Post by Mercedes350se »

Thank you all for your input. However chasing a seemingly never ending list of libs I have given up.

I will mark this thread "Abandoned".

dimkr
Posts: 2423
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: How to run 32-bit programs on this Pup? Abandoned

Post by dimkr »

apt install libx11-6:i386=2:1.8.4-2 will probably install most of the libraries you need, if not all of them.

ldd /bin/smm will tell if you need more.

radky
Posts: 355
Joined: Fri May 28, 2021 2:14 am
Has thanked: 41 times
Been thanked: 320 times

Re: How to run 32-bit programs on this Pup?

Post by radky »

Mercedes350se wrote: Fri Jul 14, 2023 2:37 am

Tried dimkr suggestion but get the following:

Code: Select all

<snip>
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libx11-6 : Breaks: libx11-6:i386 (!= 2:1.8.4-2) but 2:1.8.4-2+deb12u1 is to be installed
 libx11-6:i386 : Breaks: libx11-6 (!= 2:1.8.4-2+deb12u1) but 2:1.8.4-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

@Mercedes350se

apt install libx11-6:i386=2:1.8.4-2

will install the following packages to BW64:

gcc-12-base_12.2.0-14_i386.deb
libbsd0_0.11.7-2_i386.deb
libc6_2.36-9_i386.deb
libgcc-s1_12.2.0-14_i386.deb
libmd0_1.0.4-2_i386.deb
libx11-6_1.8.4-2+deb12u1_i386.deb
libxau6_1.0.9-1_i386.deb
libxcb1_1.15-1_i386.deb
libxdmcp6_1.1.2-3_i386.deb

However, some of the packages (as installed) are not usrmerged and may break the BW64 filesystem.

If you are interested, the following link provides a libx11-6_i386.pet which contains the above packages that are now adjusted (usrmerged) for compatibility with BW64.

http://smokey01.com/radky/puppy-bookwor ... 6_i386.pet

Beyond these basic compatibility libs, I have no plans to build a comprehensive retro-compatibility package to support legacy 32-bit applications.

dimkr
Posts: 2423
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: How to run 32-bit programs on this Pup?

Post by dimkr »

radky wrote: Sat Jul 15, 2023 10:12 pm

However, some of the packages (as installed) are not usrmerged and may break the BW64 filesystem.

This doesn't matter, this apt line will still work. Unlike PPM, apt follows the /usr symlinks when it installs packages, so no adjustment is needed.

Post Reply

Return to “BookwormPup”