Tech Insider					     Technology and Trends


			      USENET Archives

Newsgroups: comp.os.linux.development
Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!nuance.com!rastek.com!
jmorris
From: jmor...@hunan.rastek.com (Jim Morris)
Subject: How to run ELF binaries?
Message-ID: <CIt64B.3s5@hunan.rastek.com>
Organization: Rastek Corporation, Huntsville, AL
Date: Wed, 29 Dec 1993 18:02:34 GMT
Lines: 23


I am attempting to run binaries created on a 486DX running USL's SVR4,
which I understand uses ELF type binaries.  I have compiled the ELF
(and COFF) support into my 0.99.14h kernel.

When I attempt to execute one of these binaries, I get a message like:

     ./vim: Can not access a needed shared library

What gives?  Just to be sure that it wasn't a problem with vim itself,
I recompiled it as a staticly linked executable, and I still get the 
error message.  Is there some shared library I need for Linux, in order
to run ELF binaries?

BTW, I am running Slackware 1.1.1, 0.99.14h, GCC 2.4.5, and libc 4.4.4.

Thanks!

/---------------------------------------------------------------------------\
|Jim Morris                           | Sorry!  If you expected some cutesy,|  
|                                     | snide little statement here, then   |
|Internet Address: jmor...@rastek.com | you're going to be disappointed!    |
\---------------------------------------------------------------------------/

Newsgroups: comp.os.linux.development
Path: gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!darwin.sura.net!
ra!tantalus.nrl.navy.mil!eric
From: e...@tantalus.nrl.navy.mil (Eric Youngdale)
Subject: Re: How to run ELF binaries?
Message-ID: <CJ0Lq7.CBF@ra.nrl.navy.mil>
Sender: use...@ra.nrl.navy.mil
Organization: Naval Research Laboratory
References: <CIt64B.3s5@hunan.rastek.com>
Date: Sun, 2 Jan 1994 18:22:55 GMT
Lines: 29

In article <CIt64B....@hunan.rastek.com> jmor...@hunan.rastek.com 
(Jim Morris) writes:
>
>I am attempting to run binaries created on a 486DX running USL's SVR4,
>which I understand uses ELF type binaries.  I have compiled the ELF
>(and COFF) support into my 0.99.14h kernel.
>
>When I attempt to execute one of these binaries, I get a message like:
>
>     ./vim: Can not access a needed shared library
>
>What gives?  Just to be sure that it wasn't a problem with vim itself,
>I recompiled it as a staticly linked executable, and I still get the 
>error message.  Is there some shared library I need for Linux, in order
>to run ELF binaries?

	This is pretty much the size of it.  I have forgotten where I uploaded
this (it was some time ago), but I think that you will find the required stuff
on tsx-11 in pub/linux/packages/SLS/a3/elfabi.tgz.

	Note that this may not work for anything that tries to use fancy
syscalls.  I have been meaning to update this, and once the IBCS2 stuff is in
the distribution kernel I will be able to fix the elfabi so that the SVr4
binary support will work much better.

-Eric

-- 
"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

			      USENET Archives


The materials and information included in this website may only be used
for purposes such as criticism, review, private study, scholarship, or 
research.


Electronic mail:			       WorldWideWeb:
   tech-insider@outlook.com			  http://tech-insider.org/