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 1ff8hY-0003mn-4Z for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jul 2018 18:58:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ff8hV-0006gs-QS for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jul 2018 18:58:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff8hN-0005zf-MS for pgsql-odbc@lists.postgresql.org; Mon, 16 Jul 2018 18:58:17 +0000 Received: from webclient5.webclient5.de ([2a01:4f8:212:88::2]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff8hJ-00088n-Lx for pgsql-odbc@lists.postgresql.org; Mon, 16 Jul 2018 18:58:15 +0000 Received: from olorin.ladisch.de (x2f7f999.dyn.telefonica.de [2.247.249.153]) by webclient5.webclient5.de (Postfix) with ESMTPSA id 2A80555830E7 for ; Mon, 16 Jul 2018 20:58:11 +0200 (CEST) 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 To: pgsql-odbc@lists.postgresql.org References: <1531731891141-0.post@n3.nabble.com> <1531743111341-0.post@n3.nabble.com> From: Clemens Ladisch Message-ID: Date: Mon, 16 Jul 2018 20:57:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1531743111341-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99.4 at webclient5 X-Virus-Status: Clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 int main() { SQLGetPrivateProfileString("", "", "", "", 0, ""); } --8<--------------------------------------------------------->8-- If that errors out, the same error should be found somewhere in configure.log. Regards, Clemens