From owner-freebsd-questions@FreeBSD.ORG Mon Mar 14 01:25:22 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 6076616A4CE for ; Mon, 14 Mar 2005 01:25:22 +0000 (GMT) Received: from ms-smtp-04-eri0.southeast.rr.com (ms-smtp-04-lbl.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE0AF43D53 for ; Mon, 14 Mar 2005 01:25:20 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from BARTON (cpe-065-184-201-054.ec.rr.com [65.184.201.54]) j2E1PCCh012160; Sun, 13 Mar 2005 20:25:12 -0500 (EST) Date: Mon, 14 Mar 2005 01:34:09 +0000 From: Jason Henson To: David Fleck References: <7ae53963050311004747c48d5d@mail.gmail.com> <20050313110022.G98716@grond.sourballs.org> In-Reply-To: <20050313110022.G98716@grond.sourballs.org> (from david.fleck@mchsi.com on Sun Mar 13 12:08:43 2005) X-Mailer: Balsa 2.2.6 Message-Id: <1110764049l.17082l.0l@BARTON> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine 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: Mon, 14 Mar 2005 01:25:22 -0000 On 03/13/05 12:08:43, David Fleck wrote: > On Sun, 13 Mar 2005, Jason Henson wrote: >=20 >> 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 >>>=20 >>> What does it means? any advises? >>>=20 >>> Thanks! >>> _______________________________________________ >>=20 >>=20 >> Sounds like a compiler error? Check man brandelf. >> $ brandelf -l >> known ELF types are: FreeBSD(9) Linux(3) Solaris(6) SVR4(0) >>=20 >> You could try to rebrand it to type 9. >>=20 >> as root: >>=20 >> brandelf -f 9 /usr/local/lib/RealPlayer/realplay.bin >>=20 >> But the syntax error, how would that get there? Try to make =20 >> reinstall after a make distclean if branding fails. >=20 >=20 > It's a little more mysterious than that. > the Realplayer port is a Linux binary, so branding it for FreeBSD =20 > probably won't work. But here's what's odd -- I just installed =20 > linux-realplayer-10.0.2_1, and it seems to have installed OK. When I =20 > check its branding, I get: >=20 > bender# brandelf /usr/local/lib/RealPlayer/realplay.bin > File '/usr/local/lib/RealPlayer/realplay.bin' is of brand 'SVR4' (0). >=20 > so it's not branded for Linux or FreeBSD! And yet it seems to be ok. >=20 > And the 'Syntax error' the OP is getting makes no sense at all. >=20 >=20 > My suggestion at this point - do >=20 > brandelf /usr/local/lib/RealPlayer/realplay.bin > file /usr/local/lib/RealPlayer/realplay.bin >=20 > and report the results back. >=20 >=20 > -- > David Fleck > david.fleck@mchsi.com >=20 > _______________________________________________ The 0 branding is for any non-BSD (i.e. System V based) Unix, like =20 linux too. System V based Unixes (SVR4, Solaris 2.x, SCO ODT 3.0, AIX, =20 A/UX, DELL, ...). They will run on BSD. I used to not put the -=20 freeBSD in my f@h client and I would run into this. I rebrand them and =20 all is well. I might should download the correct ones just to be safe? You say you installed, did you do a make install using ports? If not =20 remove the program and use the port. If you did use the port then here =20 is some more info. Some programs can have `-DSVR4' added to the CFLAGS in their Makefile =20 to generate a SVR4 bin. Maybe you should cd to /usr/ports/multimedia/=20 realplayer(right spot?) and do a make config, and check the makefile =20 for such flags. =20