From owner-freebsd-isp@FreeBSD.ORG Sun Aug 21 14:16:03 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7710F16A41F for ; Sun, 21 Aug 2005 14:16:03 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1738943D45 for ; Sun, 21 Aug 2005 14:16:01 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.11/8.13.1) with ESMTP id j7LEFuNB014271; Sun, 21 Aug 2005 10:15:56 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.13.1/Submit) id j7LEFuZ0014270; Sun, 21 Aug 2005 10:15:56 -0400 (EDT) (envelope-from bv) Date: Sun, 21 Aug 2005 10:15:51 -0400 From: Bill Vermillion To: Abu Khaled Message-ID: <20050821141551.GC13575@wjv.com> References: <2211edca0508202259442a0610@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on bilver.wjv.com Cc: freebsd-isp@freebsd.org Subject: Re: ELF Binary Type '0' Not Known X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2005 14:16:03 -0000 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 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 > 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