Date: Sun, 21 Aug 2005 10:15:51 -0400 From: Bill Vermillion <bv@wjv.com> To: Abu Khaled <khaled.abu@gmail.com> Cc: freebsd-isp@freebsd.org Subject: Re: ELF Binary Type '0' Not Known Message-ID: <20050821141551.GC13575@wjv.com> In-Reply-To: <a64c109e0508210100ad8090e@mail.gmail.com> References: <2211edca0508202259442a0610@mail.gmail.com> <a64c109e0508210100ad8090e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050821141551.GC13575>