From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 04:16:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE922AF for ; Thu, 28 Aug 2014 04:16:13 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 708821977 for ; Thu, 28 Aug 2014 04:16:13 +0000 (UTC) Received: from r56.edvax.de (port-92-195-111-1.dynamic.qsc.de [92.195.111.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 9B244255FE; Thu, 28 Aug 2014 06:16:11 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s7S4GAPW002221; Thu, 28 Aug 2014 06:16:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 28 Aug 2014 06:16:10 +0200 From: Polytropon To: "William A. Mahaffey III" Subject: Re: Running Linux executables under FBSD 9.3 .... Message-Id: <20140828061610.f0fa59a5.freebsd@edvax.de> In-Reply-To: <53FEA167.30303@hiwaay.net> References: <53FE3911.6020906@hiwaay.net> <53FEA167.30303@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2014 04:16:13 -0000 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...