Date: Fri, 15 Dec 1995 22:37:15 +0100 (MET) From: Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de> To: jeff_kreska@pts.mot.com Cc: freebsd-questions@freebsd.org Subject: Re: linux compat Message-ID: <199512152137.WAA04926@gilberto.physik.rwth-aachen.de> In-Reply-To: <199512151858.MAA13710@wmg13> from "Jeff Kreska" at Dec 15, 95 12:58:39 pm
next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512152137.WAA04926>
