In reply to Michael Smith who wrote:
> The failing applications don't actually even raise a peep from the
> Linux emulator. Here we have 'lmgrd' (works) and 'lmclient' (fails) :
> rootvegetable:/local0/gsi/flexlm/v5.0/i86_l1>file lmgrd lmclient
> lmgrd: ELF 32-bit LSB executable, Intel 80386, version 1
> lmclient: ELF 32-bit LSB executable, Intel 80386, version 1
> rootvegetable:/local0/gsi/flexlm/v5.0/i86_l1>/compat/linux/usr/bin/ldd lmgrd lmclient
> libc.so.5 => /lib/libc.so.5.0.9
> statically linked (ELF)
> Should I assume that this is the "what static ELF binary is this" problem?
Exactly, the static ELF program is run as a FreeBSD native bin, there
is no way to know better (yet).
I guess we'll have to provide a solution for this shortcoming in
ELF (WHO said ELF was "the way to go" *sigh*)
I can do a "quick&dirty"(tm) little program that marks ELF bins so that
we can distinguish them, but it breaks the ELF std. one way or another.
Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team
So much code to hack -- so little time.