From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 18 13:07:35 2004 Return-Path: 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 D356C16A4CE for ; Thu, 18 Mar 2004 13:07:35 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 710A143D1D for ; Thu, 18 Mar 2004 13:07:35 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i2IL7YvK018972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 18 Mar 2004 16:07:34 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i2IL7TRA009667; Thu, 18 Mar 2004 16:07:29 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16474.3985.214325.22127@grasshopper.cs.duke.edu> Date: Thu, 18 Mar 2004 16:07:29 -0500 (EST) To: freebsd-amd64@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: freebsd32 organization? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 21:07:35 -0000 What's the "standard" way of installing 32-bit freebsd libraries so as to be able to run a 32-bit binary? What I did was to copy ld-elf.so.1 from a 4.9 machine to /libexec/ld-elf-32.so.1, and then copy the 4.9 libs to a lib32 directory, and then launch 32-bit binaries with a wrapper script that sets LD_LIBRARY_PATH to lib32. This is a total hack, and I assume there must be a better way. FWIW, I'm doing this because firefox (built from ports cvsupped today) exits randomly, so I'm running mozilla built on a 4.9 box.. Thanks, Drew