X-Recipient: archive-cygwin AT delorie DOT 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: cygwin AT cygwin DOT 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 AT cygwin DOT com Subject: Re: Executable file is there but it said could not find References: <712d4a980809090238k46dcea54nffafc52810faa3e5 AT mail DOT gmail DOT com> <48C6A4E2 DOT 6040005 AT cygwin DOT com> <712d4a980809100641k2e76548eq106dd0e0c4c6270d AT mail DOT gmail DOT com> <003301c9134c$b0e798e0$9601a8c0 AT CAM DOT ARTIMI DOT COM> <712d4a980809100716w7c192433g48f1a1dbbcc02600 AT mail DOT gmail DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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. > Administrator AT pc /cygdrive/e/graphite/abc > $ ls -la abc > -rwxr-xr-x 1 Administrator None 624749 Sep 10 16:06 abc > > Administrator AT 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. > Administrator AT 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/