From owner-freebsd-newbies Sun Apr 30 19:41:52 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id BD97D37B9A9 for ; Sun, 30 Apr 2000 19:41:48 -0700 (PDT) (envelope-from conrads@cx344940-a.meta1.la.home.com) Received: (from conrads@localhost) by cx344940-a.meta1.la.home.com (8.9.3/8.9.3) id VAA10872; Sun, 30 Apr 2000 21:41:39 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 30 Apr 2000 21:41:38 -0500 (CDT) Organization: @Home Network From: Conrad Sabatier To: Heiko Recktenwald Subject: What "bad magic" really means (Re: RealPlayer 7) Cc: newbies@FreeBSD.ORG, Jukka Simila Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 26-Apr-00 Heiko Recktenwald wrote: > Can anybody tell me what the "bad magic number" message means ? Does it > means, it is a linux binary and wants linux netscape ? Or is it just not > properly installed ? Hmm... > > Voila: > > ERROR: bad magic number in "/usr/local/lib/netscape/plugins/rpnp.so" > Cant load plugin /usr/local/lib/netscape/plugins/rpnp.so. Ignored. The "bad magic number" error, in this case, simply means that FreeBSD tried to run a Linux file as if it were a FreeBSD file. This will, of course, fail spectacularly. :-) RealPlayer, being as it is a Linux app, needs a little tweaking after installing to get it to work under FreeBSD's Linux emulation. In the directory where you installed RealPlayer, look for any files that have executable permissions set, and do the following on each of them: brandelf -t Linux filename That should cure the problem (assuming that you have Linux emulation enabled, and the linux-base package installed). -- Conrad Sabatier http://members.home.net/conrads/ ICQ# 1147270 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message