Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 23:42:47 -0000
From:      <alan.barrow@psinet.telstra.co.uk>
To:        "Richard Cotrina" <rcc@speedy.net.pe>, <freebsd-amd64@freebsd.org>
Subject:   RE: elf-32 binaries compat
Message-ID:  <HJECINDCNJLJAOMJOMMFAEIPCAAA.alan.barrow@psinet.telstra.co.uk>
In-Reply-To: <20050119173135.V18358@kheops.speedy.net.pe>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
[mailto:owner-freebsd-amd64@freebsd.org]On Behalf Of Richard Cotrina
Sent: 19 January 2005 22:44
To: freebsd-amd64@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org"




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