From owner-freebsd-amd64@FreeBSD.ORG Fri May 12 06:47:03 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21B9416A402 for ; Fri, 12 May 2006 06:47:03 +0000 (UTC) (envelope-from jimprettyman@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7533943D48 for ; Fri, 12 May 2006 06:47:02 +0000 (GMT) (envelope-from jimprettyman@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so276161uge for ; Thu, 11 May 2006 23:47:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qNdeuLXgO4RpQNBUn2Etq3xmHaqX7iao3D+FCBUONnSBR+L4DHqKYB8KcopEvnWRhMA1wfyaSFSkgF+WvFBDPbVuHguAJ9mIDt9MULGU75EtgTz/iiDRHTv3a7onWFMOofCqWW7LdwptZ+Ut2u4qkVZG8814FR1kuqNnG6p2TPo= Received: by 10.78.43.1 with SMTP id q1mr407630huq; Thu, 11 May 2006 23:47:01 -0700 (PDT) Received: by 10.78.32.13 with HTTP; Thu, 11 May 2006 23:47:01 -0700 (PDT) Message-ID: Date: Fri, 12 May 2006 16:47:01 +1000 From: "Jim Prettyman" To: "Joseph Koshy" In-Reply-To: <84dead720605112313h51ffd83dm82b895623f4c6e27@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <84dead720605112313h51ffd83dm82b895623f4c6e27@mail.gmail.com> Cc: freebsd-amd64@freebsd.org Subject: Re: Running i386 binaries on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 06:47:03 -0000 On 5/12/06, Joseph Koshy wrote: > > I have just installed FreeBSD-6.1-R on an athlon64 box, which is my > > first ever experience with amd. I was under the impression that the > > amd64 machines could run binaries built for the i386, but I'm not > > having much luck with the system as it is now. > > What are the symptoms you see? My initial test was with bash from my i386 box. It failed to run with 'Shared object "linintl.so.6" not found'. That lib exists in /usr/local/lib, but is presumably the wrong type for the i386 binary to use. > > Am I trying to do something that can't be done? Or is there some magic > > that I need to apply first? > > You need 'COMPAT_IA32' compiled into the kernel, but this should > be part of the default GENERIC kernel. Indeed, that is set in GENERIC, and I'm using the default kernel.