Subject: Re: LINUX compatibility (related to Quake2 under NetBSD)
To: Richard Rauch <rauch@eecs.ukans.edu>
From: Nathan J. Williams <nathanw@MIT.EDU>
List: port-i386
Date: 06/17/1999 12:05:48
<rauch@eecs.ukans.edu> (Richard Rauch) writes:
> The LINUX ldd complains:
> 
> /emul/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found
>         not a dynamic executable
> 
> ...but that file IS there:
> 
> % lk -l lib/ld-linux.so.2
> -rwxr-xr-x  1 root  wheel  345041 Sep 22  1998 lib/ld-linux.so.2*
> %

	This is sort of gross. That ldd is a shell script, so it is
run under our /bin/sh, so the compat environment isn't there, so it
doesn't do the /lib -> /emul/linux/lib mapping. A workaround is to
copy in a Linux /bin/sh and change the #! line in the ldd script to
use it. However, this is likely not related to the real problem.


> LINUX-compat is because Quake2 complains that /lib and /usr/lib are
> not ELF files (well, of COURSE; they are diretories---but Quake2 doesn't
> think that's a legitimate excuse).)

	Is that the only complaint Quake2 makes? Does it then exit, or
hang, or fail in some different way?

	- Nathan