From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 17:21:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F41E216A420 for ; Mon, 11 Feb 2008 17:21:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id D168B13C469 for ; Mon, 11 Feb 2008 17:21:37 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m1BHKIn7004870; Mon, 11 Feb 2008 18:20:18 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m1BHKEPC004867; Mon, 11 Feb 2008 18:20:16 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 11 Feb 2008 18:20:14 +0100 (CET) From: Wojciech Puchar To: Steve Franks In-Reply-To: <539c60b90802110851x295fa8c1xd7bd7afefc094a4f@mail.gmail.com> Message-ID: <20080211181636.L4825@wojtek.tensor.gdynia.pl> References: <539c60b90802110851x295fa8c1xd7bd7afefc094a4f@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: User Questions Subject: Re: linux compat: path problem? /compat/linux/bin/sh doesn't work! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 17:21:45 -0000 > sh-3.00$ ls > ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF > file OS ABI invalid > sh-3.00$ > > So............................that don't seem right. How do I get > /compat/linux/bin/sh to work right? New .shrc file? Something I > missed? > [wojtek@wojtek ~]$ /compat/linux/bin/sh sh-3.00$ ls b compat dvd etc libexec mnt mnt4 proc sbin usr bin COPYRIGHT dvd2 home lost+found mnt2 NOBACKUP razor-agent.log sys var boot dev entropy lib media mnt3 pen root tmp zip sh-3.00$ /compat/linux/bin/ls b compat dvd etc libexec mnt mnt4 proc sbin usr bin COPYRIGHT dvd2 home lost+found mnt2 NOBACKUP razor-agent.log sys var boot dev entropy lib media mnt3 pen root tmp zip looks ok on my system. sh works on yours - as you were able to put a command. > sh-3.00$ ls > ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF > file OS ABI invalid means that your /compat/linux/lib/librt.so.1 is missing or ldconfig on linux subdirs not done. did you have linux_enable="YES" in your rc.conf if not set it and rerun /etc/rc.d/abi