Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff432-0003Ah-Ev for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jul 2018 14:00:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ff430-0004yC-5A for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jul 2018 14:00:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff2M7-00043x-Op for pgsql-odbc@lists.postgresql.org; Mon, 16 Jul 2018 12:11:55 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ff2M4-0006S8-Q6 for pgsql-odbc@postgresql.org; Mon, 16 Jul 2018 12:11:54 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 53EF1E0DB9F7 for ; Mon, 16 Jul 2018 05:11:51 -0700 (MST) Date: Mon, 16 Jul 2018 05:11:51 -0700 (MST) From: Jaydip To: pgsql-odbc@postgresql.org Message-ID: <1531743111341-0.post@n3.nabble.com> In-Reply-To: References: <1531731891141-0.post@n3.nabble.com> 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 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 -> 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