X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <48C7EDB3.60107@cygwin.com>
Date: Wed, 10 Sep 2008 11:54:27 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Lightning/0.8 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Executable file is there but it said could not find
References: <712d4a980809090238k46dcea54nffafc52810faa3e5@mail.gmail.com> 	 <48C6A4E2.6040005@cygwin.com> 	 <712d4a980809100641k2e76548eq106dd0e0c4c6270d@mail.gmail.com> 	 <003301c9134c$b0e798e0$9601a8c0@CAM.ARTIMI.COM> <712d4a980809100716w7c192433g48f1a1dbbcc02600@mail.gmail.com>
In-Reply-To: <712d4a980809100716w7c192433g48f1a1dbbcc02600@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

