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: cygwin 1.7.5 psql does not run


2010/7/21 David Einstein <deinst@gmail.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. ?Would 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 => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c920000)
        kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
        cygpq.dll => /usr/bin/cygpq.dll (0x67940000)
        cygcrypt-0.dll => /usr/bin/cygcrypt-0.dll (0x10000000)
        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
        ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da0000)
        RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e50000)
        Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc0000)
        cygcrypto-0.9.8.dll => /usr/bin/cygcrypto-0.9.8.dll (0x6ba40000)
        cygz.dll => /usr/bin/cygz.dll (0x692c0000)
        cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x67f00000)
        cygintl-8.dll => /usr/bin/cygintl-8.dll (0x6f5c0000)
        cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x674c0000)
        cygldap-2-3-0.dll => /usr/bin/cygldap-2-3-0.dll (0x500000)
        cyglber-2-3-0.dll => /usr/bin/cyglber-2-3-0.dll (0x3e0000)
        cygminires.dll => /usr/bin/cygminires.dll (0x6efc0000)
        cygssl-0.9.8.dll => /usr/bin/cygssl-0.9.8.dll (0x63400000)
        cygsasl2-2.dll => /usr/bin/cygsasl2-2.dll (0x62dc0000)


>
> --
> 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
>
>

--
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


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