Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 1997 18:41:53 -0500 (CDT)
From:      Gary Clark II <gclarkii@main.gbdata.com>
To:        current@freebsd.org
Subject:   Re: LINUX statically linked ELF nogo?
Message-ID:  <199705132341.SAA01670@main.gbdata.com>
In-Reply-To: <Pine.BSF.3.95.970512135646.3934C-100000@totum.plaut.de> from Michael Reifenberger at "May 12, 97 01:58:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Reifenberger wrote:
> On Mon, 12 May 1997, Doug Rabson wrote:
> 
> > Date: Mon, 12 May 1997 12:54:03 +0100 (BST)
> > From: Doug Rabson <dfr@nlsystems.com>
> > To: Michael Reifenberger <root@totum.plaut.de>
> > Cc: FreeBSD-Current <current@freebsd.org>
> > Subject: Re: LINUX statically linked ELF nogo?
> > 
> > On Mon, 12 May 1997, Michael Reifenberger wrote:
> > 
> > > Hi,
> > > Is anybody aware of a problem with statically linked Linux-ELF binaries?
> > > 
> > > I try to install ADABAS-D Personal-Edition for Linux.
> > > You can get it for free (http://www.sag.de) BTW.
> > > 
> > > The installation prog "install" works fine
> > > file /.cd/install
> > > 	install: ELF 32-bit LSB executable, Intel 80386, version 1, 
> > > 	dynamically linked, not stripped
> > > 
> > > BUT:
> > > file bin/xcontrol
> > > 	bin/xcontrol: ELF 32-bit LSB executable, Intel 80386, version 1,
> > > 	statically linked, not stripped
> > > 
> > > ./bin/xcontrol
> > > 	ELF binary type not known 
> > > 	Abort
> > > 
> > > Can anybody help?
> > > 
> > > Probably we need to add the according identifying bits to the Linux-exe-loader
> > 
> > You need something like:
> > 
> > 	brandelf -t linux bin/xcontrol
> > 
> No:
> 
> > brandelf -t linux bin/xcontrol
> > brandelf bin/xcontrol
> File 'bin/xcontrol' is of brand 'linux'.
> > ./bin/xcontrol
> ELF binary type not known
> Abort
> 
> Its not only the brand. 
> 
Are you SURE that you have the linux emulator installed?  What does
modstat show?  That is a classic example of the lack of the emulator.

Gary

-- 
Gary Clark II   (N5VMF) |    I speak only for myself and "maybe" my company 
gclarkii@GBData.COM     |          Member of the FreeBSD Doc Team 
  Providing Internet and ISP startups - http://WWW.GBData.com for information
       FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/FAQ.latin1 



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