pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Joffe <david.joffe@tshwanedje.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Recent ODBC drivers possibly broken on XP - missing msvcrt dll
Date: Tue, 03 Jun 2014 13:06:15 +0200
Message-ID: <538DAC27.2086.CC5829A@david.joffe.tshwanedje.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi,

Sorry, just to add to my message below, it seems I also needed to 
copy msvcp100.dll to make the driver work properly (i.e. the driver 
setup worked after copying msvcr100.dll but to actually use it I 
also needed msvcp100.dll).

 - David


On 21 May 2014 at 22:26, I wrote:

From:           	David Joffe <david.joffe@tshwanedje.com>
To:             	pgsql-odbc@postgresql.org
Subject:        	Recent ODBC drivers possibly broken on XP - missing 
msvcrt dll
Date sent:      	Wed, 21 May 2014 22:26:00 +0200

> Hi,
> 
> I installed the latest Windows PostgreSQL ODBC driver (17 May 2014 
> 09_03_03) onto a test 32-bit XP SP3 system. When I tried to add a 
> datasource, I got the error message:
> 
> "The setup routines for the PostgreSQL Unicode ODBC driver could not 
> be loaded due to system error code 126"
> 
> Using dependency walker, I found the driver DLL to be missing 
> "msvcr100.dll". I manually copied msvcr100.dll into '\Program 
> Files\psqlODBC\0903\bin' and presto, the driver worked.
> 
> To be clear, this is the 32-bit driver on a 32-bit system, so this 
> is not the 64/32-bit issue.
> 
> Looking back at earlier PostgreSQL ODBC driver releases, I see that 
> up until the June 2013 driver, it seemingly included this DLL with 
> the MSI installer, but the most recent driver releases it is not 
> there. Evidently this seems to cause it to break on at least some XP 
> systems (I assume not all of them or there would be more people 
> complaining) - I'm not sure if it was intentional to break XP 
> support, or if it's a bug? (I mean, of course XP is EOL'd, but is 
> still on a sizable percentage of existing installed computers.) 
> (Alternatively, perhaps it is something anomalous to this specific 
> XP system, I'm not sure.)
> 
> Regards,
> 
>  - David Joffe
> 
> 




-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (2+ messages)

Message-ID: <538DAC27.2086.CC5829A@david.joffe.tshwanedje.com>
Permalink:  ../538DAC27.2086.CC5829A@david.joffe.tshwanedje.com/
Also on:    postgresql.org/message-id/538DAC27.2086.CC5829A@david.joffe.tshwanedje.com

 · 

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: david.joffe@tshwanedje.com
  Subject: Re: Recent ODBC drivers possibly broken on XP - missing msvcrt dll
  In-Reply-To: <538DAC27.2086.CC5829A@david.joffe.tshwanedje.com>
  References: <538DAC27.2086.CC5829A@david.joffe.tshwanedje.com>

* 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