On Sat, 20 Jul 2024 at 06:44, Van Snyder <van.sny...@sbcglobal.net> wrote:
> On Sat, 2024-07-20 at 05:54 +0000, David wrote:
> > On Sat, 20 Jul 2024 at 04:56, Van Snyder <van.sny...@sbcglobal.net> wrote:

> > > I'm trying to run a 32-bit static executable on 64-bit Debian 12.5 
> > > "bookworm."
> > >
> > > When I launch it, I get
> > >
> > > ./LinuxSusser: error while loading shared libraries: libgtk-x11-2.0.so.0: 
> > > cannot open shared object file: No such file or directory

> > Hi, try
> >   apt list --installed  '*libgtk2.0*'
> > which you will want to show that the i386 version of the libgtk2.0-0
> > package is installed alongside any other versions present.
> >
> > If it does not appear there then try installing it, using whatever package
> > manager you prefer, and specify that you want the i386 package to be
> > co-installed with any other versions already present.

> I suspected it's not installed, so I had already done
>
> # find /usr/lib -name '*libgtk2.0*'
> /usr/lib/x86_64-linux-gnu/libgtk2.0-0
>
> (I also used "locate" and didn't find it.)

Hi, unfortunately I am unable to understand from this reply whether you
ran the command I suggested, or not.

'apt' or its friends are the useful toolkit to help solve problems like this,
not 'find'. The main point of a distribution like Debian is that it provides
_packaged_ software.

> I made sure that i386 is in the arch list in /etc/apt/sources.list. Then
> I ran "apt update" but it didn't install the i386 version.

'apt update' never installs anything. You have to use for example
'apt install' to specify that you want a package installed.

> Does it exist?

In my previous message I already provided a link to a page showing
that an i386 version of the missing library it exists in Debian.
It won't be found on your machine until you install it though.

> How do I force it to install?

Regarding how to install it, use the instructions here:
  https://wiki.debian.org/Multiarch/HOWTO

Reply via email to