ELF Binary Type '0' Not Known
Bill Vermillion
bv at wjv.com
Sun Aug 21 14:16:03 GMT 2005
Even though on Sun, Aug 21, 2005 at 11:00 Abu Khaled
realized that everything he says should be taken 'cum grano salis',
he unhesitatingly continued with this missive:
> On 8/21/05, Premal Mishra <premal.mishra at gmail.com> wrote:
> > Hi,
> > Trying to run a binary file and it gives me an error :
> > "ELF Binary Type 0 Not Known"
> > How can i fix this?
> > Regards,
> > Premal.
>
> What type of binary do you have?
> # readelf -h <filename>
> look for OS/ABI it lists the binary type
> eg: OS/ABI: UNIX - Linux
I've used 'brandelf' to fix problems like this in the past.
I've had some Linux binaries that did not like 0 and branding them
type 3 cured the problem.
Bill
--
Bill Vermillion - bv @ wjv . com
More information about the freebsd-isp
mailing list