Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2008 14:29:02 -0500
From:      Mikhail Teterin <mi+mill@aldan.algebra.com>
To:        questions@freebsd.org
Subject:   32-bit FreeBSD binary on amd64
Message-ID:  <200801071429.03892.mi%2Bmill@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hello!

I'm struggling with a 32-bit FreeBSD executable, which is identified as:

ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically 
linked (uses shared libs), stripped

Unfortunately, the executable would not run:

 /libexec/ld-elf.so.1: /lib/libm.so.4: unsupported file layout

I don't understand, why it is trying to use the 64-bit /lib/libm.so.4 instead 
of the readily available /usr/lib32/libm.so.4 ? Other 32-bit binaries have no 
problems on this same machine...

Was it not linked correctly? Is there a way to correct it? brandelf-ing did 
not help, for example...

Thanks!

 -mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801071429.03892.mi%2Bmill>