Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E4CF163379B for ; Thu, 5 Aug 2010 15:43:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 10291-03 for ; Thu, 5 Aug 2010 18:43:11 +0000 (UTC) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by mail.postgresql.org (Postfix) with ESMTP id 32A686336EA for ; Thu, 5 Aug 2010 15:43:11 -0300 (ADT) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by pgfoundry.org (Postfix) with ESMTP id 62505107170E for ; Thu, 5 Aug 2010 18:43:10 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 99950-05; Thu, 5 Aug 2010 18:43:02 +0000 (UTC) Received: by pgfoundry.org (Postfix, from userid 80) id 5E0B210716FF; Thu, 5 Aug 2010 18:43:02 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1010862 ] Will not run on Windows 2000 and older, missing symbols Content-type: text/plain; charset=UTF-8 Message-Id: <20100805184302.5E0B210716FF@pgfoundry.org> Date: Thu, 5 Aug 2010 18:43:02 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_40=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/2 X-Sequence-Number: 10379 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 ---------------------------------------------------------------------- >Comment By: Darrell Walisser (mediak) Date: 2010-08-05 13:43 Message: 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: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010862&group_id=1000125