From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1010862 ] Will not run on Windows 2000 and older, missing symbols
Date: Thu, 5 Aug 2010 18:20:45 +0000 (UTC)
Message-ID: <20100805182045.DA33E10716FF@pgfoundry.org> (raw)
Bugs item #1010862, was opened at 2010-08-05 13:20
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010862&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Darrell Walisser (mediak)
Assigned to: Nobody (None)
Summary: Will not run on Windows 2000 and older, missing symbols
Initial Comment:
psqlODBC version: 8.04 0200
Attempting to use the driver under Windows 2000 in ODBC driver manager yields this:
"The setup routines for the PostgreSQL ANSI ODBC driver could not be loaded due to system error code 127"
then another dialog:
"Driver's ConfigDSN, ConfigDriver, or ConfigTranslator failed"
"Could not load the setup or translator library"
I turns out that the psqlodbc*.dll is missing these symbols in WS_32.dll: freeaddrinfo, getaddrinfo, getnameinfo
This article explains why they are missing, these were added in XP but there is a trick to make them work in earlier versions. Basically this could be fixed with a recompile. I could not compile with VS6 but I am having a go with Visual Studio Express 2008 (I usually use mingw for all Windows development so this may not work).
http://msdn.microsoft.com/en-us/library/ms737931%28VS.85%29.aspx
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010862&group_id=1000125
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: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1010862 ] Will not run on Windows 2000 and older, missing symbols
In-Reply-To: <20100805182045.DA33E10716FF@pgfoundry.org>
References: <20100805182045.DA33E10716FF@pgfoundry.org>
* 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