Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 12:56:41 -0700
From:      "Steve Franks" <stevefranks@ieee.org>
To:        "Reid Linnemann" <lreid@a.cs.okstate.edu>
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:  <539c60b90802111156o63c06c49l9aa63cb62e686ec5@mail.gmail.com>
In-Reply-To: <47B09CD2.1000806@cs.okstate.edu>
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> <47B09353.3030106@cs.okstate.edu> <op.t6dh9blghalquq@localhost> <47B09CD2.1000806@cs.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
So my problem is that things are expecting libs in
/usr/compat/linux/lib instead of /usr/compat/linux/usr/lib, and when
they don't find it in linux/lib they go straight to the FreeBSD
version?

So should I be fixing my path, or linking linux/usr/lib to linux/lib, or what?

Steve

On Feb 11, 2008 12:06 PM, Reid Linnemann <lreid@a.cs.okstate.edu> wrote:
> Written by Michael Ross on 02/11/08 12:42>>
>
> > Am 11.02.2008, 19:26 Uhr, schrieb Reid Linnemann <lreid@cs.okstate.edu>:
> >
> >
> >> 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
>



-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b90802111156o63c06c49l9aa63cb62e686ec5>