From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 19:09:08 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 4EC0316A41B for ; Mon, 11 Feb 2008 19:09:08 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id 305D913C457 for ; Mon, 11 Feb 2008 19:09:07 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [172.18.0.232] (showcase.tulsatech.org [70.168.226.150]) by a.cs.okstate.edu (Postfix) with ESMTP id 79F9D154C2F; Mon, 11 Feb 2008 13:11:13 -0600 (CST) Message-ID: <47B09CD2.1000806@cs.okstate.edu> Date: Mon, 11 Feb 2008 13:06:58 -0600 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.6 (X11/20070926) MIME-Version: 1.0 To: Michael Ross References: <539c60b90802110851x295fa8c1xd7bd7afefc094a4f@mail.gmail.com> <20080211181636.L4825@wojtek.tensor.gdynia.pl> <20080211185246.B5043@wojtek.tensor.gdynia.pl> <539c60b90802111011m4dd2609dmffc3f5bbe23e63bb@mail.gmail.com> <47B09353.3030106@cs.okstate.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , stevefranks@ieee.org, 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 19:09:08 -0000 Written by Michael Ross on 02/11/08 12:42>> > Am 11.02.2008, 19:26 Uhr, schrieb Reid Linnemann : > > >> 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. > > > [michael@serafina ~]$ brandelf /usr/compat/linux/usr/lib/librt.so.1 > brandelf: error opening file /usr/compat/linux/usr/lib/librt.so.1: No > such file or directory > > [michael@serafina ~]$ brandelf /usr/compat/linux/lib/librt.so.1 > File '/usr/compat/linux/lib/librt.so.1' is of brand 'SVR4' (0). > > [michael@serafina ~]$ brandelf /usr/lib/librt.so.1 > File '/usr/lib/librt.so.1' is of brand 'FreeBSD' (9). > > > Michael Okay, I need to proofread. /usr/compat/linux/lib/librt.so.1 is the right path. I've never seen a librt in FreeBSD, but I guess I'm wrong. I've dug a little deeper and seen other people work around this by linking /usr/compat/linux/usr/lib/librt.so.1 to the actual lib at /usr/compat/linux/lib/librt.so.1