Docs for running 32-bit apps?

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Jan 16 11:19:18 PST 2006


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


More information about the freebsd-amd64 mailing list