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

Steve Franks stevefranks at
Tue Feb 12 21:39:11 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