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: "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
To: Jaydip <jaydeep(dot)thakkar92(at)gmail(dot)com>
Cc: pgsql-odbc(at)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-17 02:44:57
Message-ID: 5c84aea9-cef5-78db-8625-9df23b3a75fc@dream.email.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Jaydip,

On 2018/07/16 21:11, 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. The odbcinst.ini and odbc.ini files exists
> in /etc/unixODBC folder, however both files are of 0 byte size.
>
> The output of command: ls -l /usr/lib64/*odbc*
>
> lrwxrwxrwx 1 root root 16 Jul 16 16:49 /usr/lib64/libodbc.so.2 ->
> libodbc.so.2.0.0
> -rwxr-xr-x 1 root root 423752 Sep 21 2014 /usr/lib64/libodbc.so.2.0.0
> lrwxrwxrwx 1 root root 18 Jul 16 16:49 /usr/lib64/libodbccr.so.2 ->
> libodbccr.so.2.0.0
> -rwxr-xr-x 1 root root 43216 Sep 21 2014 /usr/lib64/libodbccr.so.2.0.0
> lrwxrwxrwx 1 root root 20 Jul 16 16:49 /usr/lib64/libodbcinst.so.2 ->

Isn't there libodbcinst.so?

regards,
Hiroshi Inoue

> libodbcinst.so.2.0.0
> -rwxr-xr-x 1 root root 76656 Sep 21 2014 /usr/lib64/libodbcinst.so.2.0.0
>
>
> I tried --with-unixodbc without any value but still getting same error. I
> did set LDFLAGS to -ldl as mentioned in one of post but still seeing same
> error.
>
>
> --
> Sent from: http://www.postgresql-archive.org/PostgreSQL-odbc-f2186591.html

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Jaydip 2018-07-17 11:22:44 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 Edgard Battisti Guimarães 2018-07-17 01:19:28 Re: ODBC - Getting CONN ERROR: errmsg='The buffer was too small for the InfoValue'"