From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 9751 invoked from network); 28 Jun 1998 21:11:00 -0000 Received: from d73.focal3.interaccess.com (HELO davros.bheadley.org) (bheadley@207.208.138.73) by mail2.redhat.com with SMTP; 28 Jun 1998 21:11:00 -0000 Received: (from bheadley@localhost) by davros.bheadley.org (8.8.7/8.8.7) id PAA02699 for axp-list@redhat.com; Sun, 28 Jun 1998 15:10:46 -0500 From: "Bryan W. Headley" Message-Id: <9806282010.ZM2698@davros.bheadley.org> Date: Sun, 28 Jun 1998 20:10:45 +0000 In-Reply-To: "Matthew Woodworth" "Newbie Help: bash: ./rc5des: No such file or directory" (Jun 28, 12:49pm) References: <85256631.005B998F.00@cont12.qad.com> X-Mailer: Z-Mail (3.2.1 24feb96 Caldera) To: axp-list@redhat.com Subject: Re: Newbie Help: bash: ./rc5des: No such file or directory Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.