*BSD News Article 54901


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!bloom-beacon.mit.edu!panix!not-for-mail
From: mikhail@panix.com (Mikhail Kuperblum)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: where is Linux emulator?
Date: 17 Nov 1995 13:15:54 -0500
Organization: <p>
Lines: 35
Message-ID: <48ijgq$4pd@panix.com>

Is this possible to do under FreeBSD v2.0.5 or an upgrade to v2.1.0
is required? And how do I upgrade anyway? Is it possible to avoid
installing the new version from scratch by applying a patch or something?

Eric L. Hernes <erich@lodgenet.com> wrote:

> Well, it's not really an emulator, its a compatibility option.  It doesn't
> emulate linux, it allows you to execute linux binaries.  Here's the cliff
> notes on how to get it running:

> 1)  make sure you're running on a kernel whose config file
>     has `options COMPAT_LINUX' in it. If not, then re-config, rebuild,
>     and reboot.

> 2)  make sure you have a set of linux shared libraries.  Friday
>     afternoon I intend to import my port of linux libraries.
>     then it should just be to make install from
>     /usr/ports/emulators/linux_lib.  or get the port from the port
>     ftp/www server.

>     At any rate, your linux libraries must be installed in
>     /compat/linux/{lib,usr/lib}.

>     NOTE: linux libraries *must* be ZMAGIC, although it appears that
>     binaries can be either ZMAGIC or QMAGIC.

> 3)  make sure you have a /usr/bin/linux, if not do a `make all install'
>     from /usr/src/lkm/linux.  run /usr/bin/linux (as root).  You
>     should get output something like:

[...]


-- 
mikhail