X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 111BEDBA6A for ; Tue, 22 Nov 2005 17:11:49 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 40606-08 for ; Tue, 22 Nov 2005 21:11:50 +0000 (GMT) X-Greylist: delayed 00:33:55.191767 by SQLgrey- Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by svr1.postgresql.org (Postfix) with ESMTP id AD455DBA63 for ; Tue, 22 Nov 2005 17:11:46 -0400 (AST) Received: from junk.nocrew.org ([85.226.170.237] [85.226.170.237]) by mxfep01.bredband.com with ESMTP id <20051122203751.JYOH26888.mxfep01.bredband.com@junk.nocrew.org>; Tue, 22 Nov 2005 21:37:51 +0100 Received: from tomas by junk.nocrew.org with local (Exim 4.50) id 1Eeeti-0001yf-Ru; Tue, 22 Nov 2005 21:37:50 +0100 To: Chris Hoover Cc: pgsql-odbc@postgresql.org Subject: Re: Problems with newer linux odbc drivers References: <1d219a6f0511221220r5f772363g3c608c85f5ff90d9@mail.gmail.com> From: tomas@nocrew.org (=?iso-8859-1?q?Tomas_Sk=E4re?=) Date: Tue, 22 Nov 2005 21:37:50 +0100 In-Reply-To: <1d219a6f0511221220r5f772363g3c608c85f5ff90d9@mail.gmail.com> (Chris Hoover's message of "Tue, 22 Nov 2005 15:20:51 -0500") Message-ID: <801x18wh9d.fsf@junk.nocrew.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/193 X-Sequence-Number: 6429 Chris Hoover writes: > I'm having some interesting problems with the newer (v 8 and v8.1) odbc > drivers. They compile fine on my RedHat 4 AS box. However, when I try to > have some third party applications link against them, they complain about: It sounds like you have misunderstood how to use ODBC drivers. Your application shouldn't be linked with the psqlodbc driver directly. It should be linked with an ODBC library (like iodbc or unixodbc), and that library will use the database specific drivers (like psqlodbc for PostgreSQL) specified in the odbc ini files. I hope that helps you. Greetings, Tomas