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

Michael Ross michael.ross at gmx.net
Mon Feb 11 17:38:11 UTC 2008


Am 11.02.2008, 18:20 Uhr, schrieb Wojciech Puchar  
<wojtek at wojtek.tensor.gdynia.pl>:

> did you have
>
> linux_enable="YES" in your rc.conf
>
> if not set it and rerun /etc/rc.d/abi

serafina# kldload linux

serafina# /etc/rc.d/abi start
Additional ABI support:.

serafina# /compat/linux/bin/sh
sh-3.00# ls
ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS  
ABI invalid

sh-3.00# uname -a
Linux serafina.local 2.4.2 FreeBSD 7.0-PRERELEASE #0: Fri Feb  8 21:57:13  
CET 2008 i686 i686 i386 GNU/Linux

serafina# locate -d: librt.so.1
/usr/compat/linux/lib/librt.so.1
/usr/compat/linux/lib/obsolete/linuxthreads/librt.so.1
/usr/lib/librt.so.1
/usr/obj/usr/src/lib/librt/librt.so.1
/usr/obj/usr/src/tmp/usr/lib/librt.so.1



Michael


More information about the freebsd-questions mailing list