Subject: Re: Problems with DIALOG in ramdisk-small
To: Hubert Feyrer <hubert@feyrer.de>
From: Martin Husemann <martin@duskware.de>
List: tech-pkg
Date: 06/03/2005 11:03:07
On Fri, Jun 03, 2005 at 12:55:31AM +0200, Hubert Feyrer wrote:
> binary is ran as /bin/sh shell script, which of course breaks. It's the
> kernel's job to include the ELF loader by default, to recognize, load &
> run ELF binaries; I wouldn't know how to disable this easily though so
> that you'd run into that)
To test, you can chroot somewhere and try binaries w/o /lib/ld.elf_so or
/usr/lib/ld.elf_so.
As you said, ldd output or "objdump -ps" output (search for .interp)
will tell the problem.
But static linking (or inclduing in the shrunk global binary) is probably the
way to go.
Martin