Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 16:26:16 -0600
From:      Reid Linnemann <lreid@cs.okstate.edu>
To:        stevefranks@ieee.org
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, Reid Linnemann <lreid@a.cs.okstate.edu>, 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:  <47B0CB88.3070305@cs.okstate.edu>
In-Reply-To: <539c60b90802111156o63c06c49l9aa63cb62e686ec5@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>	 <47B09353.3030106@cs.okstate.edu> <op.t6dh9blghalquq@localhost>	 <47B09CD2.1000806@cs.okstate.edu> <539c60b90802111156o63c06c49l9aa63cb62e686ec5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Written by Steve Franks on 02/11/08 13:56>>
> 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
> 

Please don't top-post. The crux of the problem, as I understand it, is
that if the linuxulator tries to load /compat/linux/x/y/libz.so and
can't find it, it then tries to load /x/y/libz.so, I'm not certain why.
Ideally, your linux binaries would be linked correctly to their support
libs. In lieu of that, symlinking missing libs can suffice.




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