linux compat: path problem? /compat/linux/bin/sh doesn't work!

Reid Linnemann lreid at cs.okstate.edu
Mon Feb 11 22:28:26 UTC 2008


Written by Steve Franks on 02/11/08 13:56>>
> So my problem is that things are expecting libs in
> /usr/compat/linux/lib instead of /usr/compat/linux/usr/lib, and when
> they don't find it in linux/lib they go straight to the FreeBSD
> version?
> 
> So should I be fixing my path, or linking linux/usr/lib to linux/lib, or what?
> 
> Steve
> 

Please don't top-post. The crux of the problem, as I understand it, is
that if the linuxulator tries to load /compat/linux/x/y/libz.so and
can't find it, it then tries to load /x/y/libz.so, I'm not certain why.
Ideally, your linux binaries would be linked correctly to their support
libs. In lieu of that, symlinking missing libs can suffice.



More information about the freebsd-questions mailing list