Date: Wed, 19 Jan 2005 17:44:20 -0500 (PET) From: Richard Cotrina <rcc@speedy.net.pe> To: freebsd-amd64@freebsd.org Subject: elf-32 binaries compat Message-ID: <20050119173135.V18358@kheops.speedy.net.pe>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050119173135.V18358>