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

Jaydip <[email protected]> Mon, 16 Jul 2018 02:04:51 -0700 (MST)
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <[email protected]>
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