Re: ELF Binary Type '0' Not Known

From: Bill Vermillion (bv_at_wjv.com)
Date: 08/21/05

  • Next message: Matt Ruzicka: "Creating a Log Retention Policy"
    Date: Sun, 21 Aug 2005 10:15:51 -0400
    To: Abu Khaled <khaled.abu@gmail.com>
    
    

    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
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Matt Ruzicka: "Creating a Log Retention Policy"