Subject: Re: Linux ELF emulation questions
To: Allan Strand <astrand@trillium.NMSU.Edu>
From: John Duncan <jddst19+@pitt.edu>
List: netbsd-help
Date: 05/14/1997 09:38:22
> I've been trying to get linux emulation running and have run into
> problems with ELF format binaries.  Some particulars of my system are:
 
> The emulation options in the conf file (note COMPAT_SVR4 commented out):

> #options                COMPAT_SVR4     # binary compatibility with SVR4
> #options                COMPAT_IBCS2    # binary compatibility with SCO and ISC
> options         COMPAT_LINUX    # binary compatibility with Linux
> options         EXEC_ELF32      # needed to run linux 32bit ELFs ???
> options         COMPAT_FREEBSD  # binary compatibility with FreeBSD
> 
> a.out binaries seem to work (for example, an old version of 'xv')
> So far, all of the ELF binaries give the
> 
>  Exec format error. Wrong Architecture.
> 
> error.
> 

(1) Do you have a recently compiled version of magic(1)?

(2) Are your linux binaries and libraries up-to-date?

(3) Is all of your ksrc up-to-date?

-John