Date: Mon, 11 Feb 2008 12:26:27 -0600 From: Reid Linnemann <lreid@cs.okstate.edu> To: stevefranks@ieee.org Cc: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, User Questions <freebsd-questions@freebsd.org>, Michael Ross <michael.ross@gmx.net> Subject: Re: linux compat: path problem? /compat/linux/bin/sh doesn't work! Message-ID: <47B09353.3030106@cs.okstate.edu> In-Reply-To: <539c60b90802111011m4dd2609dmffc3f5bbe23e63bb@mail.gmail.com> References: <539c60b90802110851x295fa8c1xd7bd7afefc094a4f@mail.gmail.com> <20080211181636.L4825@wojtek.tensor.gdynia.pl> <op.t6de9tm2halquq@localhost> <20080211185246.B5043@wojtek.tensor.gdynia.pl> <op.t6dgjkhthalquq@localhost> <539c60b90802111011m4dd2609dmffc3f5bbe23e63bb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Written by Steve Franks on 02/11/08 12:11>> > 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! > > Steve > > 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/librt.so.1: ELF > file OS ABI invalid It is not finding the FreeBSD versions of libraries. There is no /usr/lib/librt.so.1 in FreeBSD, that is linux's real-time threading library. Try brandelf /usr/compat/linux/usr/lib/librt.so.1 to see if it's branded.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B09353.3030106>