[Prev][Next][Index][Thread]
Re: ExecutorLinux under FreeBSD
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
References: