Subject: Re: Can NetBSD 1.1 run a linux ELF binary??
To: Brett Lymn <blymn@awadi.com.AU>
From: Frank van der Linden <frank@fwi.uva.nl>
List: netbsd-help
Date: 03/11/1996 10:14:50
Quoting Brett Lymn,
> Folks,
> I had a quick try at running xquake on my NetBSD 1.1 box (a
> 486DX/66). It kept coming back with a exec format error when I tried.
> The file command says xquake is a 32Bit ELF type file, the linux ldd
> will not tell me squat (I get the same exec format error).
If you're running stock 1.1, the ELF exec code may be confused by strange
permissions for segments in some recent Linux ELF binaries. In that case
you might try pulling in the sys/exec_elf.h and sys/kern/exec_elf.c from
-current and recompile (you may have to tweak some include files to make
it compile because of the prototyping changes).
Alternatively, you may just be lacking a loader in the right spot
(ld-linux.so.1).
- Frank