Skip site navigation (1) Skip section navigation (2)

[ psqlodbc-Bugs-1010862 ] Will not run on Windows 2000 and older, missing symbols

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1010862 ] Will not run on Windows 2000 and older, missing symbols
Date: 2010-09-19 21:14:40
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
Bugs item #1010862, was opened at 05/08/2010 20:20
You can respond by visiting:

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


Comment By: Cesare Leonardi (celeonar)
Date: 19/09/2010 23:14

I can confirm this bug: 8.04 0200 under Win2000 SP4 gives the same error as Darrel and also for me the previous 0100 works. At least one step further, since SSL is not activable, but it's another story...



Comment By: Darrell Walisser (mediak)
Date: 05/08/2010 20:43

I discovered that rolling back to 804_0100 solves the
problem, for now. I hope this works as well as 0804_0200.


You can respond by visiting:

pgsql-odbc by date

Next:From: Devrim GÜNDÜZDate: 2010-09-21 11:22:55
Subject: 9.0 driver status
Previous:From: Rob RichardsonDate: 2010-09-17 21:00:22
Subject: How do I use Npgsql to connect to a DSN?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group