RE: enabling ELF, command not found
"Werner, Roger NAVAIR" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.guinness |
|---|---|
| Message-ID | <465B8CEDCCFD6247976A4A955795344B849078@NAEAORLOEX03VA.nadsusea.nads.navy.mil> |
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? The "command not found" error also suggests to me a possible scenario such as a system(<command>); statement somewhere within the program, and perhaps it is that command which is not found. Unfortunately, I do not have the source code, so I expect that standard debuggers would not help me to determine what command is not found. Is there a way to find out WHAT command is not found? (sometimes I've run into a similar error when a script starts with something like #!/bin/sh or #!/bin/ksh and that file doesn't exist on the system.) 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? roger -----Original Message----- From: Ajai Khattri [mailto:[email protected]] Sent: Friday, October 25, 2002 18:06 To: [email protected] Subject: Re: enabling ELF On Fri, Oct 25, 2002 at 01:53:53PM -0400, Werner, Roger NAVAIR wrote: > What do I have to do in order to enable a RH Linux 7.0 system to execute > ELF files? Isn't ELF the native format for Linux binaries? -- .jA repoleveD \ .nimdA smetsyS _______________________________________________ Guinness-list mailing list [email protected] https://listman.redhat.com/mailman/listinfo/guinness-list