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

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



On Sat, Jul 20, 2024, 8:57 AM Greg Wooledge <greg@wooledge.org> wrote:
On Sat, Jul 20, 2024 at 01:15:22 -0700, Van Snyder wrote:
> > Van Snyder wrote:
> > > And there's still the mystery why a statically-linked executable
> > > wants to
> > > load a shared object library.

https://manpages.debian.org/bookworm/manpages-dev/dlopen.3.en.html

> Am I losing my mind?
>
> At first I had done "file LinuxSusser". It reported "Statically
> linked."
>
> Just to be sure, I did the recommended "ldd LinuxSusser." It also
> reported Statically linked."

Then it's almost certainly using dlopen() to load this shared library.

If LD_LIBRARY_PATH is set to null or "" in that executable's environment and you then invoke it, what happens?


Reply to: