Re: Running 32 bit apps on 64 bit debian
On Sat, Nov 18, 2023 at 11:58:55PM -0800, Van Snyder wrote:
> I'm trying run 32 bit LinuxSusser on 64 bit Debian 12 bookworm.
You need to install some libraries and stuff. Instructions are at
<https://wiki.debian.org/Multiarch/HOWTO> but the short version is:
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386
> When I try to run it, I get
> ./LinuxSusser: Command not found.
>
> "ls -l ./LinuxSusser" respnds
> -rwxr-xr-x 1 vsnyder vsnyder 12698092 Feb 8 2013 LinuxSusser*
>
> "dpkg --print-architecture" responds amd64
> "dpkg --print-foreign-architectures" responds i386
Oh... did you already do *part* of the Multiarch setup, but not all of
it? That would have been useful information to include.
> "file ./LinuxSusser" responds
> ./LinuxSusser: ELF 32-bit LSB executable, Intel 80386, version 1
> (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for
> GNU/Linux 2.6.0, stripped
>
> but "ldd ./LinuxSusser" responds "not a dynamic executable"
Once the /lib/ld-linux.so.2 interpreter is there, you should get more
informative results from ldd.
Reply to: