Subject: Linux emulation and ELF
To: None <current-users@NetBSD.ORG>
From: Rick Byers <rickb@iaw.on.ca>
List: current-users
Date: 03/09/1997 01:13:15
Hi, back to an old thread....

I'm having trouble with the linux emulation.  First of all, I downloaded
the linux-lib-2.3 from freebsd, but it appears to be corrupt (tried
twice). I got the first bit no problem, but some files were missing (ldd
for example).  ldconfig was there but said "bad system call" when I ran
it. 

So I went hunting.  I downloaded ldd from ftp.redhat.com, and it said bad
system call as well!  I see someone posted this question quite a while
ago, but there was no response.  Any ideas?  I have the SVR4 emulation on
as well.  I tried turning it off, but the elf code barfs (something to do
with the elf_svr4 probe).  I've got 1.2 current/i386 (March 6).  I've got
COMPAT_LINUX, EXEC_ELF32 and EXEC_ELF64.  

A file on the linux ldd says:
ldd: ELF 32-bit LSB executable, Intel 80386, version 1
But running it just gives "Bad system call".  I just tried that same ldd
on my 1.2 machine, and same thing (except it dumped core).

Has any of the SVR4 vs. Linux ELF stuff been resolved yet?  I'm really
looking forward to palying some linux quake (no, actually, it's mainly for
the JDK)...  Can anyone atleast reccomend a source of linux
binaries/libraries that will work under current?  I don't really feel like
sifting through all the distributions and trying them all.  It's 1:00am
and I'm tired... I'm going to bed :)

Thanks,
	Rick

=========================================================================
Rick Byers                                      Internet Access Worldwide
rickb@iaw.on.ca                                      System Administrator
Welland, Ontario, Canada                                    (905)714-1400
http://www.iaw.on.ca/rickb/                         http://www.iaw.on.ca/