delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/21/01:49:07

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: <AANLkTine3VT96049awTOv09Mhw6ogd9AtHWVRKLV47s5@mail.gmail.com>
References: <AANLkTine3VT96049awTOv09Mhw6ogd9AtHWVRKLV47s5 AT mail DOT gmail DOT com>
Date: Wed, 21 Jul 2010 13:48:19 +0800
Message-ID: <AANLkTinqm6VbPAlto0p0OwWW1Wq539_NV8clRjV-qxPC@mail.gmail.com>
Subject: Re: cygwin 1.7.5 psql does not run
From: Huang Bambo <bambo DOT huang AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

2010/7/21 David Einstein <deinst AT gmail DOT com>:
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019