ELF binary type "0" not known.

Peter Pentchev roam at ringlet.net
Fri Sep 16 06:56:17 PDT 2005


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 example.
> > > 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 want
> >    to actually run.
> >
> > For more information, see chapter 10, "Linux Binary Compatibility", of
> > the FreeBSD Handbook.
> 
> Or..
> cd /usr/ports/www/linux-mozilla
> make install
> :)
> 
> (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

-- 
Peter Pentchev	roam at ringlet.net    roam at cnsys.bg    roam at 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050916/980ad223/attachment.bin


More information about the freebsd-hackers mailing list