From: "Bryan W. Headley" <bheadley@interaccess.com>
To: axp-list@redhat.com
Subject: Re: Newbie Help: bash: ./rc5des: No such file or directory
Date: Sun, 28 Jun 1998 20:10:45 +0000 [thread overview]
Message-ID: <9806282010.ZM2698@davros.bheadley.org> (raw)
In-Reply-To: "Matthew Woodworth" <msw@qad.com> "Newbie Help: bash: ./rc5des: No such file or directory" (Jun 28, 12:49pm)
On Jun 28, 12:49pm, Matthew Woodworth wrote:
> Subject: Newbie Help: bash: ./rc5des: No such file or directory
>
> Friends,
>
> I am trying to run a program (compiled executable) from the current
> directory but I keep getting the following error message:
> bash: ./rc5des: No such file or directory .
>
Do a "file rc5des". I'm interested in learning that this indeed is an
Alpha binary, 64-bit ELF.
Now, do an "ldd rc5des". This will give you a listing of shared libraries
referenced by the program, and where those resolve to on your system. E.g.,
libc.so.6 => /lib/libc.so.6 (0x40006000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
If you don't see a library listed after the "=>", you're in trouble.
So, either the binary type is something the machine does not accept (do we
still support ECOFF on 5.1?) [e.g., is this a DEC UNIX or worse, an Intel 386
binary?], or one of the component shared libaries is missing.
Either cases triggers an error; bash assumes such errors occur due to the fact
that the file's not found. Not a stupid assumption; there's no further
information available to it.
> I can't figure it out. The output of echo $PATH is:
> /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/mh:/usr/sbin/:.
> :/home/msw/bin:/usr/sbin/:.:/usr/sbin/:.:/usr/sbin/:.
>
Beats me. Do you keep reading your .profile when you log in?
> I also have the same problem with a shell script in the same
> directory. However, I've copied other programs into this directory
> and they work fine.
>
What does this shell script do? Something innoculous like "echo hello", or does
it try to run rc5des :-) ? I have a hard time with that error message if the
former; if the latter, and one of my guesses above pans out, then I understand.
next prev parent reply other threads:[~1998-06-28 21:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-28 16:49 Newbie Help: bash: ./rc5des: No such file or directory Matthew Woodworth
1998-06-28 17:21 ` Christopher Curtis
[not found] ` <msw@qad.com>
1998-06-28 20:10 ` Bryan W. Headley [this message]
1998-06-28 22:12 ` Larry Zimmerman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox