From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 13:56:17 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40DDC16A41F for ; Fri, 16 Sep 2005 13:56:17 +0000 (GMT) (envelope-from roam@ringlet.net) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 5524543D48 for ; Fri, 16 Sep 2005 13:56:16 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 26706 invoked from network); 16 Sep 2005 13:56:11 -0000 Received: from unknown (HELO straylight.ringlet.net) (85.95.80.104) by gandalf.online.bg with SMTP; 16 Sep 2005 13:56:11 -0000 Received: (qmail 32492 invoked by uid 1000); 16 Sep 2005 16:56:14 +0300 Date: Fri, 16 Sep 2005 16:56:14 +0300 From: Peter Pentchev To: Daniel O'Connor Message-ID: <20050916135614.GF2813@straylight.m.ringlet.net> Mail-Followup-To: Daniel O'Connor , freebsd-hackers@freebsd.org, Wouter van Rooij References: <7603e5d805091604561e83e2f2@mail.gmail.com> <20050916132314.GA2841@straylight.m.ringlet.net> <200509162307.39783.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+jhVVhN62yS6hEJ8" Content-Disposition: inline In-Reply-To: <200509162307.39783.doconnor@gsoft.com.au> User-Agent: Mutt/1.5.10i Cc: freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:56:17 -0000 --+jhVVhN62yS6hEJ8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 16, 2005 at 11:07:31PM +0930, Daniel O'Connor wrote: > On Friday 16 September 2005 22:53, Peter Pentchev wrote: > > On Fri, Sep 16, 2005 at 11:56:09AM +0000, Wouter van Rooij wrote: > > > I have this error message when i'm wanting to start mozilla for examp= le. > > > Do some of you know whats wrong and what I can do to get it working > > > again? > > > > Is this a Linux binary of Mozilla? If you are trying to run a Linux > > application, you need to do three things: > > 1. Install a Linux emulation port - ports/emulators/linux_base is a good > > choice; > > 2. Load the linux.ko kernel module or compile it into the kernel; > > 3a. Set the kern.fallback_elf_brand sysctl variable to 3, or > > 3b. Run 'brandelf -t Linux /path/to/executable' on the file that you wa= nt > > to actually run. > > > > For more information, see chapter 10, "Linux Binary Compatibility", of > > the FreeBSD Handbook. >=20 > Or.. > cd /usr/ports/www/linux-mozilla > make install > :) >=20 > (or firefox, or..) Yep, I think this probably takes care of step 1 and possibly 3b, although the message that Wouter gets is making me think that for some reason the port has *not* run brandelf on the executables - if brandelf had been run, wouldn't the error message mention ELF binary type 3, not 0? So I went ahead and included all the steps, just to cover all bases :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 What would this sentence be like if pi were 3? --+jhVVhN62yS6hEJ8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDKs7+7Ri2jRYZRVMRAiWHAJ9+nZTluHa1u56UjaLXPrMyCDM6uQCgxtiV vzQ0z0wXzoAO1fz9AzmFojk= =3K7c -----END PGP SIGNATURE----- --+jhVVhN62yS6hEJ8--