Running Linux executables under FBSD 9.3 ....
freebsd at edvax.de
Thu Aug 28 04:16:13 UTC 2014
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/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 at 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 at 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:
See 11.2. for more instructions.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions