[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running 32-bit static exeutable on 64-bit Debian



On Sat, 2024-07-20 at 05:54 +0000, David wrote:
On Sat, 20 Jul 2024 at 04:56, Van Snyder <van.snyder@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.)

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. Does it exist? How do I force it to install?

And there's still the mystery why a statically-linked executable wants to load a shared object library.


Reference:
https://packages.debian.org/search?searchon=contents&keywords=libgtk-x11&mode=filename&suite=stable&arch=any



Reply to: