On Mon, May 28, 2007 at 12:09:01AM +0100, Edd Barrett wrote: > Hi there, > > My friend has made an application that uses a shared library which is > not yet ported to OpenBSD (xereces-c). We have been trying to run it > on OpenBSD using linux-compat. I know this is all set up properly as I > use opera a lot. > > We have a static binary for the correct arch: > $ file a.out > a.out: ELF 32-bit LSB executable, Intel 80386, version 1, for > GNU/Linux 2.6.9, statically linked, not stripped
try 'branding' it with 'elf2olf -o linux a.out'. and sysctl kern.emul.linux should be set to 1, of course.