| From: | "Andrus" <kobruleht2(at)hot(dot)ee> | 
|---|---|
| To: | "Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp> | 
| Cc: | <pgsql-odbc(at)postgresql(dot)org> | 
| Subject: | Re: 08.04.0100: Couldn't load libpq library | 
| Date: | 2009-09-04 12:47:38 | 
| Message-ID: | 5D09A7DE1510454B95B7554C81A227A0@andrusnotebook | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-odbc | 
Hiroshi,
thank you.
I noticed that libpq.dll contains reference to msvcr80.dll
Package 
http://www.microsoft.com/downloads/details.aspx?familyid=200b2fd9-ae1a-4a14-984d-389c36f85647&displaylang=en
is for vs2005 and does not contain this file.
How to  add all required files to odbc msi installation package so it does 
not require additional dependencies in windows ?
Andrus.
----- Original Message ----- 
From: "Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp>
To: "Andrus" <kobruleht2(at)hot(dot)ee>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Sent: Friday, September 04, 2009 3:34 PM
Subject: Re: [ODBC] 08.04.0100: Couldn't load libpq library
> Andrus wrote:
>> After installing 8.4.1 (or 8.3.4 ) from msi in Windows  XP ,  ODBC driver
>> cannot used anymore:
>>
>> Error
>>
>> Couldn't load libpq library
>>
>> occurs.
>>
>> 8.4 libpq.dll and msvcr71.dll are present in psqlODBC  subdirectory.
>>
>> 08.02.0400 driver works OK.
>>
>> I have sslmode=allow in init string but connection to server is not 
>> crypted.
>> If I install PostgreSql 8.4 server to client computer, problem is gone 
>> but
>> it is not reasonable to install server in every client maschine.
>>
>> How to fix this ?
>
> Maybe MSVC2005 redistributable package is needed.
> Please try
>
> http://www.microsoft.com/downloads/details.aspx?familyid=200b2fd9-ae1a-4a14-984d-389c36f85647&displaylang=en
> .
>
> regards,
> Hiroshi Inoue 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrus | 2009-09-05 16:30:30 | Re: 08.04.0100: Couldn't load libpq library | 
| Previous Message | Hiroshi Inoue | 2009-09-04 12:34:26 | Re: 08.04.0100: Couldn't load libpq library |