X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: Does exit code 53 mean missing DLLs?
Date:  Thu, 26 Oct 2006 16:12:50 -0500
Lines: 40
Message-ID: <ehr8cj$5t4$1@sea.gmane.org>
References:  <20061026155940.qdulfw3wnc4kkgw4@sumost.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

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/

