Re: psql & cygncurses5.dll

From: Jason Tishler <jason(at)tishler(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, "'Henshall, Stuart - WCP'" <SHenshall(at)westcountrypublications(dot)co(dot)uk>, "'Steven Williams'" <swilliam(at)bigpond(dot)net(dot)au>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: psql & cygncurses5.dll
Date: 2001-10-13 00:51:05
Message-ID: 20011012205105.N1148@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

On Fri, Oct 12, 2001 at 11:33:12AM -0400, Jason Tishler wrote:
> On Thu, Oct 11, 2001 at 09:30:16AM +0100, Dave Page wrote:
> > I got this problem myself Stuart after upgrading Cygwin the other day, both
> > with Jason's precompiled version, and a 7.2 snapshot (I even tried
> > ./configure;make all again). I restored cygncurses5.dll from an older
> > version and all is fine now...
>
> I will build PostgreSQL 7.2 against ncurses-5.2-7, but until then please
> head the warning in the above.

Actually after further reflection, there is nothing that I can do
directly as the Cygwin PostgreSQL maintainer to correct this problem.
psql is not directly dependent on cygncursesX.dll:

$ objdump -p /usr/bin/psql.exe | fgrep 'DLL Name'
DLL Name: pq.dll
DLL Name: cygwin1.dll
DLL Name: cygreadline5.dll
DLL Name: KERNEL32.dll

However, readline is directly dependent on ncurses:

$ objdump -p /usr/bin/cygreadline5.dll | fgrep 'DLL Name'
DLL Name: cygncurses5.dll
DLL Name: cygwin1.dll
DLL Name: KERNEL32.dll
DLL Name: USER32.dll

Hence, psql is indirectly dependent on ncurses. So, I have to wait for
the Cygwin readline maintainer to rebuilt his package before I can
rebuild PostgreSQL to remove its indirect dependency on ncurses.

Jason

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Anil Jangam 2001-10-15 05:06:16 gmake error.
Previous Message Brian Boonstra 2001-10-12 20:44:47 Re: WinNT 4.0, 7.1.3, build hangs on "no rule" for libpq.a