* Newbie Help: bash: ./rc5des: No such file or directory
@ 1998-06-28 16:49 Matthew Woodworth
1998-06-28 17:21 ` Christopher Curtis
[not found] ` <msw@qad.com>
0 siblings, 2 replies; 4+ messages in thread
From: Matthew Woodworth @ 1998-06-28 16:49 UTC (permalink / raw)
To: axp-list
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 .
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/:.
I don't know why /usr/sbin && . are in there so many times (another
problem for another day)
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.
Does anybody have any ideas? Is this a linux configuration mistake
or do you think it's related to the program I'm running?
Matthew S. Woodworth
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Newbie Help: bash: ./rc5des: No such file or directory 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> 1 sibling, 0 replies; 4+ messages in thread From: Christopher Curtis @ 1998-06-28 17:21 UTC (permalink / raw) To: axp-list On Sun, 28 Jun 1998, Matthew Woodworth wrote: > 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 . > > 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. These problems are one of two things: missing exectuables for shell scripts or missing libraries for executables. If you have problems with a shell script, type "head -1 MyScript" and make sure that the program specified on that line exists. For binary executables, type "ldd MyProgram" and see which library is missing. Then you'll either need to obtain that library or modify your LD_LIBRARY_PATH to point to the directory with that library. Alternately, you can edit /etc/ld.conf to include it always, after running /sbin/ldconfig -v -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <msw@qad.com>]
* Re: Newbie Help: bash: ./rc5des: No such file or directory [not found] ` <msw@qad.com> @ 1998-06-28 20:10 ` Bryan W. Headley 1998-06-28 22:12 ` Larry Zimmerman 1 sibling, 0 replies; 4+ messages in thread From: Bryan W. Headley @ 1998-06-28 20:10 UTC (permalink / raw) To: axp-list 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Newbie Help: bash: ./rc5des: No such file or directory [not found] ` <msw@qad.com> 1998-06-28 20:10 ` Bryan W. Headley @ 1998-06-28 22:12 ` Larry Zimmerman 1 sibling, 0 replies; 4+ messages in thread From: Larry Zimmerman @ 1998-06-28 22:12 UTC (permalink / raw) To: axp-list From: "Matthew Woodworth" <msw@qad.com> Sun, 28 Jun 1998 > 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 . I'd bet that rc5des is a broken symbolic link. Whatever it is supposed to be a link to is missing. Try "ls -l rc5des", then look for what it is linked to. Larry Z. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-06-28 22:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1998-06-28 22:12 ` Larry Zimmerman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox