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

Re: Actually installing 32-bit support



On Sun, Oct 26, 2025 at 12:02:54 -0700, Van Snyder wrote:
> I ran "dpkg --add-architecture i386" and "apt install libgtk2\*"
> [...]
> Finally, I ran "apt install libgtk2\*:i386" and it worked.
> 
> What is the REAL way to add 32-bit support in Trixie?

That looks correct.  The --add-architecture, followed by apt update,
and then the manual installation of libraries ending with :i386 --
those are the proper steps.

If you aren't sure which libraries to add, try using ldd on the foreign
binary.  That'll at least give you a list of raw filenames that are
dynamically linked, and you can try to deduce the package names from
those filenames.  If there are any files that get dlopen()ed later on,
those will have to be tracked down as they arise, unless you're fortunate
enough that your foreign binary comes with *documentation* about what
libraries it uses.  (I've never seen such a beast.)


Reply to: