From owner-freebsd-questions Fri Dec 15 13:35:29 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA19274 for questions-outgoing; Fri, 15 Dec 1995 13:35:29 -0800 (PST) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA19268 for ; Fri, 15 Dec 1995 13:35:20 -0800 (PST) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id WAA04926; Fri, 15 Dec 1995 22:37:15 +0100 Message-Id: <199512152137.WAA04926@gilberto.physik.rwth-aachen.de> Subject: Re: linux compat To: jeff_kreska@pts.mot.com Date: Fri, 15 Dec 1995 22:37:15 +0100 (MET) Cc: freebsd-questions@freebsd.org In-Reply-To: <199512151858.MAA13710@wmg13> from "Jeff Kreska" at Dec 15, 95 12:58:39 pm From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk > > I got FreeBSD 2.1 installed on a couple of machines, and all appears to be > running well. I tryed to run a linux binary and it core dumped on me. I > thouht that the generic kernel didn't have linux compat built in so I decided > to rebuild the krenel with COMPAT_LINUX option. > > Rebuilt and reinstalled kernel and re-booted. > > Now when I try and run the linux binary I get the following errors: > /usr/local/bin/ce: Exec format error. Wrong Architecture. You have to load the /lkm/linux_mod.o I have the following in /etc/rc.i386: if [ "X${linux_emu}" != X"NO" ] ; then echo -n ' linux-emulation: ' modstat | grep _linux || modload -u -o /tmp/linux_mod -e \ linux_init -q /lkm/linux_mod.o fi and linux_emu=YES in /etc/sysconfig > > If I say file /usr/local/bin/ce : > /usr/local/bin/ce: setuid Linux/i386 demand-paged executable (ZMAGIC) > > Is this type of file supported?? > > Also do you have to configure some files so that the system knows where to > find the shared libs??? > > > Perhaps a pointer to linux_compat configuration WWW page would be nice. > > -- > Thanks, > Jeff Kreska > > email: jeff_kreska@pts.mot.com X.400: FJK008@email.mot.com > pager: 214 836-7416, 0578 internal > phone: x52572 > > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de