From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 20:16:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 020D014D for ; Wed, 27 Aug 2014 20:16:56 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B815E36F1 for ; Wed, 27 Aug 2014 20:16:55 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id m20so943992qcx.21 for ; Wed, 27 Aug 2014 13:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=YIbcvwYKSiFpestx2hwkIG/QTGgUZgoyxBZAXCvK++U=; b=s8KpN1xU+q/FtDbbdKD8zFhqsJlqIjmiSxxNyoqxDN3azAvaty8bMrTF1RgwZBmnDw rEpvgLrg8K3vZSPpe8Kv1qhv0uROMCt2ew4nCuSZWN4rWJ7KaOcLjFlOosgImWfOdXfa cMnLOnn8HnSbCYKKgCWdzeIZb8m7ymfcp6VOmZ7Vm9l5/6kSEOoOXcNK4nV6M0VT01DD mydtDDjKgxWTWYW3yMV7fTFOYFv56yuGuxUC3mxLcw6hUaqz0iQI+8P6e/0VYNRG2Sgp lH4+5q1atDNz9USZDfgnbjQsMyJsLkkIv7YLZ4k+i5AzNxsW2ueDSRMLXguPTnJ0LQRt oj2g== MIME-Version: 1.0 X-Received: by 10.140.23.37 with SMTP id 34mr57150173qgo.2.1409170614814; Wed, 27 Aug 2014 13:16:54 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.39.139 with HTTP; Wed, 27 Aug 2014 13:16:54 -0700 (PDT) In-Reply-To: <53FE3911.6020906@hiwaay.net> References: <53FE3911.6020906@hiwaay.net> Date: Wed, 27 Aug 2014 13:16:54 -0700 X-Google-Sender-Auth: pocmm5AC7QHPMKAZse9SgQlK30Y Message-ID: Subject: Re: Running Linux executables under FBSD 9.3 .... From: Adrian Chadd To: "William A. Mahaffey III" Content-Type: text/plain; charset=UTF-8 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: Wed, 27 Aug 2014 20:16:56 -0000 It's a 64 bit linux binary. The development for 64 bit binaries in the linux emulation layer is still ongoing. Sorry, -a On 27 August 2014 13:01, William A. Mahaffey III wrote: > > > .... I have some in-house CAD/Grid-generation coding that I normally use on > my various linux boxen. The code is compiled on a CentOS 5.n VM, & runs on > all of my other boxen OK. I want to run it under FBSD 9.3 as well. I tried > to just execute it & I get the following: > > > > [wam@kabini1, ~, 2:55:35pm] 442 % ll -tr LIST /usr/local/bin/[B,P]* ; uname > -a ; date > -rw------- 1 wam users 309 May 4 2013 LIST > -r-xr-xr-x 1 root wheel 15071 Jul 30 17:45 /usr/local/bin/POST* > -r-xr-xr-x 1 wam wheel 11197704 Aug 27 08:40 > /usr/local/bin/PreBFCGL.SSE4.1.TEST.static* > lrwxr-xr-x 1 root wheel 27 Aug 27 09:17 > /usr/local/bin/PreBFCGL.TEST.static@ -> PreBFCGL.SSE4.1.TEST.static > lrwxr-xr-x 1 root wheel 30 Aug 27 09:17 > /usr/local/bin/PreBFCGL.TEST.static.R8@ -> PreBFCGL.SSE4.1.TEST.static.R8 > lrwxr-xr-x 1 root wheel 20 Aug 27 09:18 > /usr/local/bin/PreBFCGL.TEST@ -> PreBFCGL.TEST.static > lrwxr-xr-x 1 root wheel 23 Aug 27 09:18 > /usr/local/bin/PreBFCGL.TEST.R8@ -> PreBFCGL.TEST.static.R8 > -r-xr-xr-x 1 wam wheel 11211944 Aug 27 10:35 > /usr/local/bin/PreBFCGL.SSE4.1.TEST.static.R8* > FreeBSD kabini1 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 10 > 23:44:39 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > Wed Aug 27 14:55:39 CDT 2014 > [wam@kabini1, ~, 2:55:39pm] 443 % PreBFCGL.TEST > ELF binary type "0" not known. > /usr/local/bin/PreBFCGL.TEST: Exec format error. Binary file not executable. > [wam@kabini1, ~, 2:55:44pm] 444 % file `which PreBFCGL.TEST` > /usr/local/bin/PreBFCGL.TEST: symbolic link to `PreBFCGL.TEST.static' > [wam@kabini1, ~, 2:55:49pm] 445 % file `which PreBFCGL.TEST.static` > /usr/local/bin/PreBFCGL.TEST.static: symbolic link to > `PreBFCGL.SSE4.1.TEST.static' > [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. > [wam@kabini1, ~, 2:56:08pm] 448 % uname -a > FreeBSD kabini1 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 10 > 23:44:39 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > [wam@kabini1, ~, 2:56:33pm] 449 % > > > I did a kldload linux & it said already loaded. What else do I need to do to > be able to run this (& other) executables under FBSD 9.3 ? TIA .... > > > -- > > William A. Mahaffey III > > ---------------------------------------------------------------------- > > "The M1 Garand is without doubt the finest implement of war > ever devised by man." > -- Gen. George S. Patton Jr. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"