www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/13/22:18:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Vin Shelton <acs AT xemacs DOT org>
Subject: Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13
Date: Fri, 13 Mar 2009 23:17:35 -0400
Lines: 64
Message-ID: <gpf7kk$2g6$1@ger.gmane.org>
References: <20a807210903131414g62e0a53cyefd3938c3fe8af33 AT mail DOT gmail DOT com> <49BADAC1 DOT 80709 AT cwilson DOT fastmail DOT fm>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
In-Reply-To: <49BADAC1.80709@cwilson.fastmail.fm>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Charles Wilson wrote:
> Vin Shelton wrote:
>> When I build the latest zsh sources on Cygwin 1.7 using
>> ncurses8-5.5.3, I get a working zsh.  When I build the same zsh
>> sources against ncurses9-5.7-13, although the build completes
>> successfully, the executable will not run:
>>
>> $ /usr/local/zsh-2009-03-11/bin/zsh -f
>> $ echo $?
>> 127
>>
>> My guess is that some kind of runtime dependency is missing, but:
>>
>> $ cygcheck /usr/local/zsh-2009-03-11/bin/zsh.exe
>> C:\cygwin\usr\local\zsh-2009-03-11\bin\zsh.exe
>>   C:\cygwin\bin\cygwin1.dll
>>     C:\WINDOWS\system32\ADVAPI32.DLL
>>       C:\WINDOWS\system32\KERNEL32.dll
>>         C:\WINDOWS\system32\ntdll.dll
>>       C:\WINDOWS\system32\RPCRT4.dll
>>         C:\WINDOWS\system32\Secur32.dll
>>   C:\cygwin\usr\local\zsh-2009-03-11\bin\libzsh-4.3.9-dev-1.dll
>>     C:\cygwin\bin\cygiconv-2.dll
>>     C:\cygwin\bin\cygncurses-9.dll
>>     C:\cygwin\bin\cyggcc_s-1.dll
> 
> Just for grins, could you rebuild zsh against libncurses9 -- but this
> time use gcc3?  cygiconv-2 and cygncurses-9 use the static gcc-3.4.4
> libgcc.a, but you are apparently using the gcc-4.3.2 shared libgcc.
> 
> I just wonder if that presents an incompatibility that could explain
> what you are seeing.

Thanks for replying, Chuck.

As I mentioned in the initial email, I had already done just that.  Just 
to be sure, I did it again, with the same result:

$ cygcheck ./zsh.exe
C:\cygwin\usr\local\zsh-2009-03-11\bin\zsh.exe
   C:\cygwin\bin\cygwin1.dll
     C:\WINDOWS\system32\ADVAPI32.DLL
       C:\WINDOWS\system32\KERNEL32.dll
         C:\WINDOWS\system32\ntdll.dll
       C:\WINDOWS\system32\RPCRT4.dll
         C:\WINDOWS\system32\Secur32.dll
   C:\cygwin\usr\local\zsh-2009-03-11\bin\libzsh-4.3.9-dev-1.dll
     C:\cygwin\bin\cygiconv-2.dll
     C:\cygwin\bin\cygncurses-9.dll

$ cygcheck ./libzsh-4.3.9-dev-1.dll
C:\cygwin\usr\local\zsh-2009-03-11\bin\libzsh-4.3.9-dev-1.dll
   C:\cygwin\bin\cygwin1.dll
     C:\WINDOWS\system32\ADVAPI32.DLL
       C:\WINDOWS\system32\KERNEL32.dll
         C:\WINDOWS\system32\ntdll.dll
       C:\WINDOWS\system32\RPCRT4.dll
         C:\WINDOWS\system32\Secur32.dll
   C:\cygwin\bin\cygiconv-2.dll
   C:\cygwin\bin\cygncurses-9.dll

How can I ascertain what entry point is not being found?

   - Vin


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019