linux program only runs from /compat/linux/usr/lib

Steve Franks stevefranks at
Wed Feb 13 17:36:02 UTC 2008

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/ : 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  So, how does FBSD figure out what lib to grab, and
why is it grabbing the wrong one?


More information about the freebsd-questions mailing list