Re: Getting an error for unixODBC library "odbcinst" not found whileexecuting ./configure --with-unixodbc=/usr --with-libpq=/apps/PostgreSQL/10in SuSE Linux 12.0 SP1 - Mailing list pgsql-odbc

From Clemens Ladisch
Subject Re: Getting an error for unixODBC library "odbcinst" not found whileexecuting ./configure --with-unixodbc=/usr --with-libpq=/apps/PostgreSQL/10in SuSE Linux 12.0 SP1
Date
Msg-id a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de
Whole thread Raw
In response to Re: Getting an error for unixODBC library "odbcinst" not foundwhile executing ./configure --with-unixodbc=/usr--with-libpq=/apps/PostgreSQL/10 in SuSE Linux 12.0 SP1  (Jaydip <jaydeep.thakkar92@gmail.com>)
List pgsql-odbc
Jaydip wrote:
> I installed ODBC using below command:
> *zypper install unixODBC.x86_64* where odbcinst library is in /usr/lib64 and
> odbc_config is there in /usr/bin.
>
> I tried --with-unixodbc without any value but still getting same error.

Please try to compile (but not run) the following test program
(with "gcc -o testprogram testprogram.c -l odbcinst"):


--8<--------------------------------------------------------->8--
#include <odbcinst.h>

int main()
{
     SQLGetPrivateProfileString("", "", "", "", 0, "");
}
--8<--------------------------------------------------------->8--


If that errors out, the same error should be found somewhere in
configure.log.


Regards,
Clemens


pgsql-odbc by date:

Previous
From: Jaydip
Date:
Subject: Re: Getting an error for unixODBC library "odbcinst" not foundwhile executing ./configure --with-unixodbc=/usr--with-libpq=/apps/PostgreSQL/10 in SuSE Linux 12.0 SP1
Next
From: Edgard Battisti Guimarães
Date:
Subject: Re: ODBC - Getting CONN ERROR: errmsg='The buffer was too small forthe InfoValue'"