Date: Thu, 28 Aug 2014 06:38:07 -0500 From: "William A. Mahaffey III" <wam@hiwaay.net> Cc: "FreeBSD Questions !!!!" <freebsd-questions@freebsd.org> Subject: Re: Running Linux executables under FBSD 9.3 .... Message-ID: <53FF149F.4020704@hiwaay.net> In-Reply-To: <20140828061610.f0fa59a5.freebsd@edvax.de> References: <53FE3911.6020906@hiwaay.net> <CAJ-VmomU61LnKav38AFmW=XL7=8iifyOdDFcwT9shyfSKR2DNw@mail.gmail.com> <53FEA167.30303@hiwaay.net> <20140828061610.f0fa59a5.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/27/14 23:16, Polytropon wrote: > On Wed, 27 Aug 2014 22:26:31 -0500, William A. Mahaffey III wrote: >> That little factoid (no 64-bit emulation) is unfortunately understated >> in the docs, as far as I can tell (I never found it) :-/ .... > In general, when attempting to run Linux binaries, you should > pay attention to fulfill all the requirements: > > /etc/rc.conf: linux_enable="YES" > > /etc/fstab: linproc /compat/linux/proc linprocfs rw 0 0 > > Installed: linux_base-f10 and linux-f10-* compatibility packages > > For example, I'm using this to play (32 bit) Linux games on a > (32 bit) FreeBSD system without any problems. I have also used > this to get a crappy Canon laser printer to work on FreeBSD > (which basically was impossible). :-) > > The problem you've encountered, > >>>> [wam@kabini1, ~, 2:55:55pm] 446 % file `which PreBFCGL.SSE4.1.TEST.static` >>>> /usr/local/bin/PreBFCGL.SSE4.1.TEST.static: ELF 64-bit LSB executable, >>>> x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for >>>> GNU/Linux 2.6.9, stripped >>>> [wam@kabini1, ~, 2:55:59pm] 447 % PreBFCGL.SSE4.1.TEST.static >>>> ELF binary type "0" not known. >>>> /usr/local/bin/PreBFCGL.SSE4.1.TEST.static: Exec format error. Binary file >>>> not executable. > is something that could probably be cured soon if you're willing > to upgrade to FreeBSD 10; 10.1 is around the corner, maybe its > 64 bit version will work for your Linux program? > > For this specific topic, the documentation for the Linux ABI could > express the limitations more explicitely, the "at this time" state- > ment on top the synopsis: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html > > See 11.2. for more instructions. Yeah, I missed that page when I was prepping, pilot error I guess .... Still, as long as 64-bit has been out there (RHEL7 isn't even shipping 32-bit), I reflexively expected 64-bit emulation support would just be there & just work .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53FF149F.4020704>
