Problems with newer linux odbc drivers - Mailing list pgsql-odbc

From Chris Hoover
Subject Problems with newer linux odbc drivers
Date
Msg-id 1d219a6f0511221220r5f772363g3c608c85f5ff90d9@mail.gmail.com
Whole thread Raw
Responses Re: Problems with newer linux odbc drivers
List pgsql-odbc
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:

/usr/local/lib/psqlodbc.so: undefined reference to `SQLWritePrivateProfileString'
/usr/local/lib/psqlodbc.so: undefined reference to `SQLGetPrivateProfileString'


However, if I drop down to the version 7 odbc driver, everything links fine.  Any idea on why I am getting the undefined references?

I have tried this with the following version:

psqlodbc-07.03.200 - complies and linkable

psqlodbc-08.00.0102 - complies but not linkable with above mentioned problem

psqlodbc-08.01.0101 - complies but not linkable with above mentioned problem

We would really like to use the newer odbc drivers as we are at the start of a large project of upgrading to PostgreSQL 8.1 and upgrading our third party software.

Thanks for any ideas/advice.

Chris

pgsql-odbc by date:

Previous
From: tomas@nocrew.org (Tomas Skäre)
Date:
Subject: asynchronous execution
Next
From: tomas@nocrew.org (Tomas Skäre)
Date:
Subject: Re: Problems with newer linux odbc drivers