From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 16 19:19:18 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 0125016A41F for ; Mon, 16 Jan 2006 19:19:18 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9585743D5A for ; Mon, 16 Jan 2006 19:19:15 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id k0GJJFpO015408; Mon, 16 Jan 2006 11:19:15 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id k0GJJFHO015407; Mon, 16 Jan 2006 11:19:15 -0800 (PST) (envelope-from sgk) Date: Mon, 16 Jan 2006 11:19:15 -0800 From: Steve Kargl To: kael@sonic.net Message-ID: <20060116191915.GB15316@troutmask.apl.washington.edu> References: <20060116183735.GA15021@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org Subject: Re: Docs for running 32-bit apps? 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: Mon, 16 Jan 2006 19:19:18 -0000 On Mon, Jan 16, 2006 at 10:47:52AM -0800, Kael Fischer wrote: > > Thanks, I forgot to mention that I had already tried that. Doing it > again does not fix it. But perhaps the first error message is > significant? Is there something that loads at boot time? > > b1# ldconfig -32 -r > ldconfig: Cannot open "/var/run/ld-elf32.so.hints": No such file or directory > b1# ldconfig -32 /usr/lib32 Do you have libstdc++.so.3 and libm.so.2 in /usr/lib32? Does ldconfig -32 -r show a list of files. > b1# ~kael/src/pdbanal/raftercc > /usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found, > required by "raftercc" > b1# ~kael/src/wublast/freebsd-i686/blasta > /usr/libexec/ld-elf.so.1: Shared object "libm.so.2" not found, > required by "blasta" If you can't recompile raftercc and blasta for amd64, then try to find the missing 32bit libs and drop them im /usr/lib32. You could create a symlink to get libm.so.2 (although I don't recommend this approach). A symlink probably won't work for libstdc++.co.3 because the C++ ABI changed. -- Steve