This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Executable file is there but it said could not find
Maika V wrote:
Thanks Dave.
I used bash shell and my report is exactly what I got from screen when
type './abc' and 'where abc'.
Attached is cygcheck.out file and below is what on the screen when I
follow your guide. Hope that it helps.
<snip>
Administrator@pc /cygdrive/e/graphite/abc
$ ls -la abc
-rwxr-xr-x 1 Administrator None 624749 Sep 10 16:06 abc
Administrator@pc /cygdrive/e/graphite/abc
$ ./abc
Could not find ./abc !
Dave's right. This message is not from Cygwin's Bash. You're either
running someone else's Bash or the message you see is coming from running
'abc' itself. To determine the former, type 'echo $SHELL'. For the latter,
check the source or debug the program.
<snip>
Administrator@pc /cygdrive/e/graphite/abc
$ cygcheck abc.exe;type abc.exe; file abc.exe; getfacl abc.exe
Error: could not find abc.exe
bash: type: abc.exe: not found
How about 'cygcheck ./abc.exe; type ./abc.exe'?
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/