[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compat_linux
I'm trying to figure out how to get binary compatibility to work with my
2.4/intel machine. I read through compat_linux(8) and believe I've
installed the proper files. I'm still feeling pretty clue-free about the
process, but anyhow here's what I have:
My kernel:
#[foobar][/emul/linux]# uname -v
ARGH2#0
Double check that the kernel was compiled with COMPAT_LINUX:
#[foobar][/emul/linux]# egrep LINUX /usr/src/sys/arch/i386/conf/ARGH2
option COMPAT_LINUX # binary compatibility with Linux
This is indeed an ELF Linux binary:
#[foobar][/emul/linux]# file sbin/ldconfig
sbin/ldconfig: ELF 32-bit LSB executable, Intel 80386, version 1
Look what happens when I try to run it:
#[foobar][/emul/linux]# sbin/ldconfig
Bad system call
Apparently ldconfig is supposed to just "work" since its libraries are
statically linked. Do I need an a.out binary instead?
Thanks for help/pointers.
-----------------------------------------------
Michael Hornung foobar@u.washington.edu