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

From: Clemens Ladisch <clemens(at)ladisch(dot)de>
To: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: Re: Getting an error for unixODBC library "odbcinst" not found while executing ./configure --with-unixodbc=/usr --with-libpq=/apps/PostgreSQL/10 in SuSE Linux 12.0 SP1
Date: 2018-07-16 18:57:50
Message-ID: a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Edgard Battisti Guimarães 2018-07-17 01:19:28 Re: ODBC - Getting CONN ERROR: errmsg='The buffer was too small for the InfoValue'"
Previous Message Jaydip 2018-07-16 12:11:51 Re: Getting an error for unixODBC library "odbcinst" not found while executing ./configure --with-unixodbc=/usr --with-libpq=/apps/PostgreSQL/10 in SuSE Linux 12.0 SP1