From owner-freebsd-questions@FreeBSD.ORG Fri Mar 28 20:56:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E50631065671; Fri, 28 Mar 2008 20:56:09 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id 84C1A8FC22; Fri, 28 Mar 2008 20:56:03 +0000 (UTC) (envelope-from mark@msen.com) X-Sent-To: freebsd-questions@freebsd.org Received: from quadone.psyberation.com (c-68-42-120-191.hsd1.mi.comcast.net [68.42.120.191]) (authenticated bits=0) by shell.msen.com (8.14.2/8.14.2) with ESMTP id m2SKu1lM042616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 28 Mar 2008 16:56:03 -0400 (EDT) (envelope-from mark@msen.com) From: Mark Moellering To: Kris Kennaway Date: Fri, 28 Mar 2008 16:55:58 -0400 User-Agent: KMail/1.9.7 References: <200803272241.11944.mark@msen.com> <200803281644.24419.mark@msen.com> <47ED5A3C.1070600@FreeBSD.org> In-Reply-To: <47ED5A3C.1070600@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803281655.58441.mark@msen.com> Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=68.42.120.191; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=68.42.120.191; helo=quadone.psyberation.com X-Milter: Spamilter (Reciever: shell.msen.com; Sender-ip: 68.42.120.191; Sender-helo: quadone.psyberation.com; ) Cc: freebsd-questions@freebsd.org Subject: Re: problems with i386 jail on amd64 install 7.0 Release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 20:56:10 -0000 On Friday 28 March 2008 04:51:08 pm Kris Kennaway wrote: > Mark Moellering wrote: > > On Friday 28 March 2008 03:27:27 pm you wrote: > >> Mark Moellering wrote: > >>> On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote: > >>>> Mark Moellering wrote: > >>>>> I have been trying to install an i386 jail on an amd64 install. I > >>>>> added Target=i386 to the command line in the make buildworld and > >>>>> installworld commands. I keep getting the following (or similar) > >>>>> error > >>>> > >>>> 'Target' does nothing, there is no such variable. If you meant > >>>> 'TARGET', that is a real variable but not the one you want. You need > >>>> to add 'TARGET_ARCH=i386' to your build/installworld to successfully > >>>> cross-compile. > >>>> > >>>> Kris > >>> > >>> Kris, > >>> Thanks for the reply. > >>> I aplogize, I should have been more explicit. > >>> > >>> I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the > >>> same error. > >>> > >>> (/libexec/ld-elf.so.1: Shared object "libedit.so.6" not found, required > >>> by "sh") > >>> > >>> Have you or has anyone else on the list successfuly done this? > >> > >> Yes, frequently. Does the library exist in the chroot and is it an i386 > >> library (use file(1))? > >> > >> Kris > > > > Thanks Kris, you're a lifesaver. > > > > The response I get using File is: > > > > libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 > > (FreeBSD), dynamically linked, stripped > > OK, that is correct. Is the rest of the chroot configured properly, > e.g. did you populate /etc and /var? > > Kris /etc and /var are populated