Linux binary looks for /proc/cpuinfo, dies when cannot be found,
even when linprocfs mounted.
Benjamin
byu17 at uclive.ac.nz
Sat Jun 23 11:49:49 UTC 2012
>> grep: /proc/cpuinfo: No such file or directory
> Err, so it was an error from grep ? I bet that some script run the
> host (FreeBSD) version of external utility, simply because there is
> no /compat/linux/usr/bin/grep installed. Then, since FreeBSD binary
> has FreeBSD branding, it indeed accessed native /proc, and not translated
> /compat/linux/proc.
>
Correct. But this wasn't a script, it was an executable. In any case,
using brandelf to mark in as Linux seems to have solved the problem.
More information about the freebsd-ports
mailing list