linux program only runs from /compat/linux/usr/lib
Boris Samorodov
bsam at ipt.ru
Wed Feb 13 23:24:26 UTC 2008
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
More information about the freebsd-questions
mailing list