Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 16:56:14 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        freebsd-hackers@freebsd.org, Wouter van Rooij <aentgood@gmail.com>
Subject:   Re: ELF binary type "0" not known.
Message-ID:  <20050916135614.GF2813@straylight.m.ringlet.net>
In-Reply-To: <200509162307.39783.doconnor@gsoft.com.au>
References:  <7603e5d805091604561e83e2f2@mail.gmail.com> <20050916132314.GA2841@straylight.m.ringlet.net> <200509162307.39783.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--+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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050916135614.GF2813>