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: Jaydip <jaydeep(dot)thakkar92(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: 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 09:04:51
Message-ID: 1531731891141-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

I am trying to install PostgreSQL ODBC drivers in SuSE Linux 12.0 SP1 where
I am getting following error:
configure: error: unixODBC library "odbcinst" not found

I am able to see below libraries though under usr/lib64
libodbcinst.so.2 -> libodbcinst.so.2.0.0
libodbcinst.so.2.0.0

I did set the LD_LIBRARY_PATH to /usr/lib64 and set LDFLAGS=-ldl too.
However while executing below command I am getting an error:
./configure --with-unixodbc=/usr --with-libpq=/apps/PostgreSQL/10/data

I have tried to change --with-unixodbc multiple times but getting same
error. I also had a look into other posts but didn't work for me.

Any help will really be appreciated.

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-odbc-f2186591.html

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Clemens Ladisch 2018-07-16 10:53:10 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
Previous Message Inoue, Hiroshi 2018-07-15 12:17:45 Re: ODBC - Getting CONN ERROR: errmsg='The buffer was too small for the InfoValue'"