Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2008 02:24:05 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        stevefranks@ieee.org
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: linux program only runs from /compat/linux/usr/lib
Message-ID:  <19965370@ipt.ru>
In-Reply-To: <539c60b90802121339k24b09f6hdc07f3faf035ed2f@mail.gmail.com> (Steve Franks's message of "Tue\, 12 Feb 2008 14\:39\:09 -0700")
References:  <539c60b90802121339k24b09f6hdc07f3faf035ed2f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Feb 2008 14:39:09 -0700 Steve Franks wrote:

> If I cd to /compat/linux/usr/lib, and start <nameless linux app>, it
> runs fine.  If I start it from any other location, I get
> /usr/lib/libfontconfig.so.1 : wrong ABI. So the app is finding the
> FreeBSD lib instead of the Linux one.  I tried putting
> /compat/linux/usr/lib at the very front of my path and it doesn't seem
> to fix it.  Brandelf looks correct (SRV4) for both the app, and

The app should be branded as Linux. So try to use "brandelf -t Linux
<app>".

> fontconfg.so.1.  So, how does FBSD figure out what lib to grab, and
> why is it grabbing the wrong one?


WBR
-- 
bsam



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