From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 17:08:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F049916A4CE for ; Sun, 13 Mar 2005 17:08:45 +0000 (GMT) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F0C043D2F for ; Sun, 13 Mar 2005 17:08:45 +0000 (GMT) (envelope-from david.fleck@mchsi.com) Received: from grond (12-216-7-29.client.mchsi.com[12.216.7.29]) by sccmmhc91.asp.att.net (sccmmhc91) with SMTP id <20050313170844m9100r7ae0e>; Sun, 13 Mar 2005 17:08:44 +0000 Date: Sun, 13 Mar 2005 11:08:43 -0600 (CST) From: David Fleck Sender: dcf@grond.sourballs.org To: Jason Henson In-Reply-To: <1110685322l.7004l.0l@BARTON> Message-ID: <20050313110022.G98716@grond.sourballs.org> References: <7ae53963050311004747c48d5d@mail.gmail.com> <1110685322l.7004l.0l@BARTON> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: [Realplay10GOLD] Error: ELF binary type "0" not known X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 17:08:46 -0000 On Sun, 13 Mar 2005, Jason Henson wrote: > On 03/11/05 03:47:27, P.H.Tung wrote: >> I successfully installed Realplayer10GOLD on FreeBSD released 5.3 >> When I run realplay from console, I got following error: >> ELF binary type "0" not known. >> /usr/local/lib/RealPlayer/realplay.bin: 1: Syntax error: "(" >> unexpected >> >> What does it means? any advises? >> >> Thanks! >> _______________________________________________ > > > Sounds like a compiler error? Check man brandelf. > $ brandelf -l > known ELF types are: FreeBSD(9) Linux(3) Solaris(6) SVR4(0) > > You could try to rebrand it to type 9. > > as root: > > brandelf -f 9 /usr/local/lib/RealPlayer/realplay.bin > > But the syntax error, how would that get there? Try to make reinstall after > a make distclean if branding fails. It's a little more mysterious than that. the Realplayer port is a Linux binary, so branding it for FreeBSD probably won't work. But here's what's odd -- I just installed linux-realplayer-10.0.2_1, and it seems to have installed OK. When I check its branding, I get: bender# brandelf /usr/local/lib/RealPlayer/realplay.bin File '/usr/local/lib/RealPlayer/realplay.bin' is of brand 'SVR4' (0). so it's not branded for Linux or FreeBSD! And yet it seems to be ok. And the 'Syntax error' the OP is getting makes no sense at all. My suggestion at this point - do brandelf /usr/local/lib/RealPlayer/realplay.bin file /usr/local/lib/RealPlayer/realplay.bin and report the results back. -- David Fleck david.fleck@mchsi.com