Date: Sat, 23 Jun 2012 23:19:23 +1200 From: Benjamin <byu17@uclive.ac.nz> To: Konstantin Belousov <kostikbel@gmail.com>, <freebsd-ports@freebsd.org> Subject: Re: Linux binary looks for /proc/cpuinfo, dies when cannot be found, even when linprocfs mounted. Message-ID: <4FE5A63B.1040303@uclive.ac.nz> In-Reply-To: <20120623111337.GS2337@deviant.kiev.zoral.com.ua> References: <4FE528AE.8070005@uclive.ac.nz> <20120623085716.GM2337@deviant.kiev.zoral.com.ua> <4FE5928A.8030207@uclive.ac.nz> <20120623102039.GR2337@deviant.kiev.zoral.com.ua> <4FE5A0E6.2010101@uclive.ac.nz> <20120623111337.GS2337@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE5A63B.1040303>