pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Andrus <kobruleht2@hot.ee>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: 08.04.0100: Couldn't load libpq library
Date: Sat, 5 Sep 2009 19:30:30 +0300
Message-ID: <44C109BDFD44445BADD871D79D413AD9@andrusnotebook> (raw )
In-Reply-To: <4AA10952.2050906@tpf.co.jp >
References: <851644EB1A494A299A83CB453D1187FD@andrusnotebook >
<4AA10952.2050906@tpf.co.jp >
Hiroshi,
> Maybe MSVC2005 redistributable package is needed.
> Please try
>
> http://www.microsoft.com/downloads/details.aspx?familyid=200b2fd9-ae1a-4a14-984d-389c36f85647&di...
I researched this issue in Windows 98 computer:
1. Installing VS2005 VC++ redistributable from
http://www.microsoft.com/downloads/details.aspx?familyid=200b2fd9-ae1a-4a14-984d-389c36f85647&di...
does not fix it.
2. Installation of VS2008 VC++ SP1 redistributable does not start: shutdown
installer action complains about missing entry point in WinNT dll
3. Copying manually msvcrt80.dll into odbc and application directories does
not fix it.
I used filemon to trace this issue:
Directory C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS QUERY
Open C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS OPENEXISTING
READONLY DENYWRITE
Read C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS Offset: 0 Length:
64
Seek C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS Beginning Offset:
272 / New offset: 272
Read C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS Offset: 272
Length: 248
Seek C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS Beginning Offset:
272 / New offset: 272
Read C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS Offset: 272
Length: 488
Directory C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS QUERY
Read C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS Offset: 159744
Length: 4096
....
Read C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS Offset: 151552
Length: 2048
Attributes C:\PROGRAM FILES\PSQLODBC\0803\BIN\MSVCR80.DLL SUCCESS
GetAttributes
Directory C:\PROGRAM FILES\PSQLODBC\0803\BIN\MSVCR80.DLL SUCCESS QUERY
Open C:\PROGRAM FILES\PSQLODBC\0803\BIN\MSVCR80.DLL SUCCESS OPENEXISTING
READONLY DENYWRITE
Directory C:\PROGRAM FILES\PSQLODBC\0803\BIN\MSVCR80.DLL SUCCESS QUERY
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\MSVCR80.DLL SUCCESS CLOSE_FINAL
Close C:\WINDOWS\SYSTEM\WLDAP32.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\GSSAPI32.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\K5SPRT32.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\COMERR32.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\KRB5_32.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBICONV2.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBINTL3.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBEAY32.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\SSLEAY32.DLL SUCCESS CLOSE_FINAL
Close C:\PROGRAM FILES\PSQLODBC\0803\BIN\LIBPQ.DLL SUCCESS CLOSE_FINAL
Attributes C:\MYAPPL\ALGUS\LIBPQ.DLL NOTFOUND GetAttributes
Attributes C:\WINDOWS\SYSTEM\LIBPQ.DLL NOTFOUND GetAttributes
Attributes C:\WINDOWS\LIBPQ.DLL NOTFOUND GetAttributes
Attributes C:\WINDOWS\LIBPQ.DLL NOTFOUND GetAttributes
Attributes C:\WINDOWS\COMMAND\LIBPQ.DLL NOTFOUND GetAttributes
Attributes C:\WINDOWS\SYSTEM32\LIBPQ.DLL NOTFOUND GetAttributes
Attributes C:\MYAPPL\ALGUS SUCCESS GetAttributes
Attributes C:\WINDOWS\MEDIA\CHORD.WAV SUCCESS GetAttributes
Open C:\WINDOWS\MEDIA\CHORD.WAV SUCCESS OPENEXISTING READONLY DENYNONE
...
Maybe for some strange reason after initial reading and closing, LIBPQ.DLL
lookup does not look into 0803\BIN directory.
If SSLMODE=Allow is removed from connection string, it works.
How to use SSL connections is Windows 98 ?
Andrus.
view thread (6+ messages) latest in thread
Message-ID: <44C109BDFD44445BADD871D79D413AD9@andrusnotebook>
Permalink: ../44C109BDFD44445BADD871D79D413AD9@andrusnotebook/
Also on: postgresql.org/message-id/44C109BDFD44445BADD871D79D413AD9@andrusnotebook
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: kobruleht2@hot.ee, inoue@tpf.co.jp
Subject: Re: 08.04.0100: Couldn't load libpq library
In-Reply-To: <44C109BDFD44445BADD871D79D413AD9@andrusnotebook>
References: <851644EB1A494A299A83CB453D1187FD@andrusnotebook> <4AA10952.2050906@tpf.co.jp> <44C109BDFD44445BADD871D79D413AD9@andrusnotebook>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox