Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2006 11:19:15 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        kael@sonic.net
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Docs for running 32-bit apps?
Message-ID:  <20060116191915.GB15316@troutmask.apl.washington.edu>
In-Reply-To: <cd02cc220601161047p3ffd016cy1dc70e2f33538dea@mail.gmail.com>
References:  <cd02cc220601161027o22df47d6m1e9642e40e13f957@mail.gmail.com> <20060116183735.GA15021@troutmask.apl.washington.edu> <cd02cc220601161047p3ffd016cy1dc70e2f33538dea@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060116191915.GB15316>