From owner-freebsd-current Tue May 13 16:41:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA24964 for current-outgoing; Tue, 13 May 1997 16:41:44 -0700 (PDT) Received: from main.gbdata.com (tel_ppp0023.livingston.net [207.22.211.32]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA24956 for ; Tue, 13 May 1997 16:41:38 -0700 (PDT) Received: (from gclarkii@localhost) by main.gbdata.com (8.8.5/8.8.5) id SAA01670 for current@freebsd.org; Tue, 13 May 1997 18:41:54 -0500 (CDT) From: Gary Clark II Message-Id: <199705132341.SAA01670@main.gbdata.com> Subject: Re: LINUX statically linked ELF nogo? To: current@freebsd.org Date: Tue, 13 May 1997 18:41:53 -0500 (CDT) In-Reply-To: from Michael Reifenberger at "May 12, 97 01:58:37 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Michael Reifenberger wrote: > On Mon, 12 May 1997, Doug Rabson wrote: > > > Date: Mon, 12 May 1997 12:54:03 +0100 (BST) > > From: Doug Rabson > > To: Michael Reifenberger > > Cc: FreeBSD-Current > > 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