Re: psql & cygncurses5.dll

From: "Fu, Robert" <Robert(dot)Fu(at)broadvision(dot)com>
To: "'Jason Tishler'" <jason(at)tishler(dot)net>, 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-17 17:52:09
Message-ID: 9B2863AE99F3D311903C0006293842620784C01F@rw-msg-02.broadvision.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Temporarily renaming cygncurses5.dll to cygncurses4.dll (or whatever it's
looking for) worked for me.

Robert

-----Original Message-----
From: Jason Tishler [mailto:jason(at)tishler(dot)net]
Sent: Friday, October 12, 2001 5:51 PM
To: Dave Page; 'Henshall, Stuart - WCP'; 'Steven Williams';
pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [CYGWIN] psql & cygncurses5.dll

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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-10-17 19:22:30 Re: psql & cygncurses5.dll
Previous Message Markus Meyer 2001-10-16 17:12:33 Exporting Microsoft Access tables to PostgreSQL