X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: Does exit code 53 mean missing DLLs? Date: Thu, 26 Oct 2006 16:12:50 -0500 Lines: 40 Message-ID: References: <20061026155940 DOT qdulfw3wnc4kkgw4 AT sumost DOT ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <20061026155940.qdulfw3wnc4kkgw4@sumost.ca> OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Steve Robbins wrote: > I have built a complicated piece of code that depends on several 3rd > party libs. When I run it, however, it exits prematurely with no output > to stdout nor stderr, no corefile, nothing. But the exit status is > always 53. >=20 > I'm beginning to wonder if this is telling me something ;-) >=20 > I realized later that I have linked against some DLLs that aren't in a > standard place. I expected to get some kind of "cannot find DLL" error > at startup, but perhaps "error 53" is the way windows tells me this? $ net helpmsg 53 The network path was not found. > P.S. What's the equivalent of linux's "ldd" for cygwin? $ cygcheck /usr/bin/bash.exe C:/Cygwin/bin/bash.exe C:/Cygwin/bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\RPCRT4.dll C:/Cygwin/bin\cygintl-3.dll C:/Cygwin/bin\cygiconv-2.dll C:/Cygwin/bin\cygreadline6.dll C:/Cygwin/bin\cygncurses-8.dll C:\WINDOWS\system32\USER32.dll C:\WINDOWS\system32\GDI32.dll and there is a couple of scripts on the Internet that output something clos= er to ldd using objdump (I use one by Gary V. Vaughan). --=20 Ren=E9 Berber -- 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/