From owner-freebsd-amd64@FreeBSD.ORG Sat May 13 21:31:09 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 E14EF16A439 for ; Sat, 13 May 2006 21:31:09 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail22.syd.optusnet.com.au (mail22.syd.optusnet.com.au [211.29.133.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 343FA43D45 for ; Sat, 13 May 2006 21:31:09 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail22.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4DLV7Ah024312 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 14 May 2006 07:31:07 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4DLV6JP007889; Sun, 14 May 2006 07:31:06 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4DLV62J007888; Sun, 14 May 2006 07:31:06 +1000 (EST) (envelope-from peter) Date: Sun, 14 May 2006 07:31:06 +1000 From: Peter Jeremy To: Jim Prettyman Message-ID: <20060513213106.GH714@turion.vk2pj.dyndns.org> Mail-Followup-To: Peter Jeremy , Jim Prettyman , freebsd-amd64@freebsd.org References: <84dead720605112313h51ffd83dm82b895623f4c6e27@mail.gmail.com> <1147422229.41363.3.camel@pav.hide.vol.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 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: Sat, 13 May 2006 21:31:10 -0000 On Sat, 2006-May-13 16:06:35 +1000, Jim Prettyman wrote: >Can you help me a bit more here? Should I create a >/usr/local/lib32/compat directory and copy the libraries from >/usr/local/lib on my i386 box to there? That's a start. Lots of ports include their own shared libraries in private directories: java, mozilla, perl, OpenOffice, python, ruby, zsh off the top of my head. These paths need to be handled as well. java, OpenOffice and mozilla also use a chain of shellscripts to appropriately configure their environment before starting - these would probably also need tweaking. >This leads me to my real question: assuming I get this to work and I >am able to run my i386 bash successfully, can I expect the same >process to give me a working version of openoffice (since it's marked >as i386 only in the ports)? OOo is far more complex than bash. You will need to play with /usr/local/OpenOffice.org1.1.5/program/soffice as well. Let us know how you get on. -- Peter Jeremy