linux compat: path problem? /compat/linux/bin/sh doesn't work!

Steve Franks stevefranks at
Mon Feb 11 18:11:14 UTC 2008

I think my problem lies elsewhere:  linux & abi started, but no
difference!  I have the linux .so files right in compat/linux/usr/lib,
but it always finds the freeBSD versions first!


sh-3.00$ kldstat
Id Refs Address    Size     Name
 1   19 0xc0400000 926ed4   kernel
 2    1 0xc0d27000 5a74     snd_t4dwave.ko
 3    2 0xc0d2d000 4a5ac    sound.ko
 4    1 0xc0d78000 22c98    radeon.ko
 5    2 0xc0d9b000 10e98    drm.ko
 6    1 0xc0dac000 6a1c4    acpi.ko
 7    1 0xc304a000 7000     linprocfs.ko
 8    1 0xc3051000 22000    linux.ko
sh-3.00$ sudo /etc/rc.d/abi start
Additional ABI support: linux.
sh-3.00$ ls
ls: error while loading shared libraries: /usr/lib/ ELF
file OS ABI invalid

More information about the freebsd-questions mailing list