This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]