*BSD News Article 61608


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newsroom.utas.edu.au!munnari.OZ.AU!metro!metro!inferno.mpx.com.au!news.mel.aone.net.au!imci4!newsfeed.internetmci.com!howland.reston.ans.net!blackbush.xlink.net!snert!not-4-mail
From: pmh@pilhuhn.de (Patrick M.Hausen)
Newsgroups: comp.emulators.mac.executor,comp.unix.bsd.freebsd.misc
Subject: Re: ExecutorLinux under FreeBSD
Date: 18 Feb 1996 01:17:02 +0100
Organization: The Home Of The Pilhuhn
Lines: 34
Message-ID: <4g5r5u$720@pilhuhn.pilhuhn.de>
References: <1996Feb16.041137.26318@galileo.cc.rochester.edu>
NNTP-Posting-Host: pilhuhn.de
Xref: euryale.cc.adfa.oz.au comp.emulators.mac.executor:490 comp.unix.bsd.freebsd.misc:13928

jk002e@uhura.cc.rochester.edu (Jeffrey Kenney) writes:

>Has anyone had any success running ExecutorLinux under FreeBSD  2.1.0
>I cant seem to get it to work I keep getting the message

>	/usr/local/bin/executor: can't load dynamic linker '/lib/ld.so'

>This file 'ld.so' is located under /usr/libexec on my machine, I tried
>linking /lib to /usr/libexec but got the same result.

You have to install the Linux library package to run Linux binaries.
It's in /cdrom/packages/All/linux_lib-1.0.tgz, if you have the
FreeBSD 2.1 cdrom.

Then the /usr/bin/linux shellscript is still missing, so here it is:

------------------------
#!/bin/sh

set -e

kernelfile=`sysctl -n kern.bootfile`
kernelfile=`basename $kernelfile`
newkernelfile="/tmp/${kernelfile}+linux"

modload -e linux_init -o $newkernelfile -q /lkm/linux_mod.o
set +e
------------------------

Hope, that helps
Paddy

-- 
Patrick M. Hausen    Gerwigstr. 11    76131 Karlsruhe    pmh@islay.sub.org