www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/13/17:14:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BADAC1.80709@cwilson.fastmail.fm>
Date: Fri, 13 Mar 2009 18:14:25 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13
References: <20a807210903131414g62e0a53cyefd3938c3fe8af33 AT mail DOT gmail DOT com>
In-Reply-To: <20a807210903131414g62e0a53cyefd3938c3fe8af33@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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.

--
Chuck

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