pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: pgsql-odbc@lists.postgresql.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: Mon, 16 Jul 2018 20:57:50 +0200
Message-ID: <a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de> (raw)
In-Reply-To: <1531743111341-0.post@n3.nabble.com>
References: <1531731891141-0.post@n3.nabble.com>
	<efbc8d28-0984-f8a8-9807-bf6e9d031a43@ladisch.de>
	<1531743111341-0.post@n3.nabble.com>

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




view thread (6+ messages)  latest in thread

Message-ID: <a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de>
Permalink:  ../a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de/
Also on:    postgresql.org/message-id/a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: clemens@ladisch.de
  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
  In-Reply-To: <a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de>
  References: <1531731891141-0.post@n3.nabble.com> <efbc8d28-0984-f8a8-9807-bf6e9d031a43@ladisch.de> <1531743111341-0.post@n3.nabble.com> <a584216c-5aae-22fe-528e-ef319b13e569@ladisch.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox