elf-32 binaries compat

alan.barrow at psinet.telstra.co.uk alan.barrow at psinet.telstra.co.uk
Wed Jan 19 15:48:51 PST 2005


had many issues with this, gave up and rolled back to i386 on the opteron
for the moment, we need the orcacle driver :(

still i'm sure this will work in time.

yours a.r.b.

-----Original Message-----
From: owner-freebsd-amd64 at freebsd.org
[mailto:owner-freebsd-amd64 at freebsd.org]On Behalf Of Richard Cotrina
Sent: 19 January 2005 22:44
To: freebsd-amd64 at freebsd.org
Subject: elf-32 binaries compat


Hi :

Is there any special configuration needed to run elf 32 (i386) binaries in
FreeBSD 5.3R/amd64 ?

I am trying to run some 32 bit application in a kernel that has the
following options enabled:

options		COMPAT_IA32
options		COMPAT_FREEBSD4

and i got the following error:

ELF interpreter /libexec/ld-elf32.so.1 not found

Searching the list i found out that lib32 needs to be enabled, so I did :

# cd /usr/src
# /usr/src/tools/lib32/build32.sh

It seems that it did not help because i still get an error when trying to
run the elf 32 application :

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

The question is how do I enable i386 compatibility (elf32)?. I don't have
/compat/ia32 or something similar despite the fact my kernel has compat
options enabled.

I also got the following:

# sysctl kern.elf32
kern.elf32.fallback_brand: -1

Any help or suggestion is welcome.

Thanks in advance

Richard Cotrina
_______________________________________________
freebsd-amd64 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"




More information about the freebsd-amd64 mailing list