Re: enabling ELF, command not found

Ajai Khattri <[email protected]>
Newsgroups gmane.linux.redhat.release.guinness
Message-ID <[email protected]>
On Tue, Oct 29, 2002 at 10:52:18AM -0500, Werner, Roger NAVAIR wrote:

> Ah, yes.  Apparently it is.  However, I have an ELF binary which reports
> a "command-not-found" error when we try to run it.  Examination of the
> binary reveals strings "libm.so.5" and "libld-linux.so.1".  I don't have
> either in /usr/lib.  Does their mention in the executable imply that
> they are needed at runtime, and if so, where would one get them?
>
> Could the version of linux be relevant?  and if so, is there a way I
> could tell from the binary what version it needs to run on?

It is probably an older binary that needs old versions of these libraries.
On my RH7.0 box, I have libm.so.6 for example but not libm.so.5.

You may be able to find these libraries amongst the packages on the
installation CDROM (probably listed as "compat" packages), or your favorite
RPM mirror. The C libraries have gone through several changes over the years
so what you're looking for might be older stuff.

-- 
.jA
repoleveD \ .nimdA smetsyS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.