Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 14:39:09 -0700
From:      "Steve Franks" <stevefranks@ieee.org>
To:        "User Questions" <freebsd-questions@freebsd.org>
Subject:   linux program only runs from /compat/linux/usr/lib
Message-ID:  <539c60b90802121339k24b09f6hdc07f3faf035ed2f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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
fontconfg.so.1.  So, how does FBSD figure out what lib to grab, and
why is it grabbing the wrong one?

Steve



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