X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 21 Jul 2010 13:48:19 +0800 Message-ID: Subject: Re: cygwin 1.7.5 psql does not run From: Huang Bambo To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2010/7/21 David Einstein : > Huang Bambo: >> Maybe your psql command linked to a wrong cygpq.dll. > > I tried reloading all of the cygwin packages related to postgres to no > avail. =A0Would a locally compiled cygpq.dll be better? use ldd command and list the dll's used by psql. My output is like the following: ntdll.dll =3D> /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c920000) kernel32.dll =3D> /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80= 0000) cygpq.dll =3D> /usr/bin/cygpq.dll (0x67940000) cygcrypt-0.dll =3D> /usr/bin/cygcrypt-0.dll (0x10000000) cygwin1.dll =3D> /usr/bin/cygwin1.dll (0x61000000) ADVAPI32.DLL =3D> /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da= 0000) RPCRT4.dll =3D> /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e50000) Secur32.dll =3D> /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc00= 00) cygcrypto-0.9.8.dll =3D> /usr/bin/cygcrypto-0.9.8.dll (0x6ba40000) cygz.dll =3D> /usr/bin/cygz.dll (0x692c0000) cyggcc_s-1.dll =3D> /usr/bin/cyggcc_s-1.dll (0x67f00000) cygintl-8.dll =3D> /usr/bin/cygintl-8.dll (0x6f5c0000) cygiconv-2.dll =3D> /usr/bin/cygiconv-2.dll (0x674c0000) cygldap-2-3-0.dll =3D> /usr/bin/cygldap-2-3-0.dll (0x500000) cyglber-2-3-0.dll =3D> /usr/bin/cyglber-2-3-0.dll (0x3e0000) cygminires.dll =3D> /usr/bin/cygminires.dll (0x6efc0000) cygssl-0.9.8.dll =3D> /usr/bin/cygssl-0.9.8.dll (0x63400000) cygsasl2-2.dll =3D> /usr/bin/cygsasl2-2.dll (0x62dc0000) > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple