Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uyy0u-0001Xx-UB for pgsql-odbc@arkaria.postgresql.org; Tue, 16 Jul 2013 05:41:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Uyy0u-0000va-DP for pgsql-odbc@arkaria.postgresql.org; Tue, 16 Jul 2013 05:41:28 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uyy0t-0000vT-HN for pgsql-odbc@postgresql.org; Tue, 16 Jul 2013 05:41:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uyy0r-0000yo-Gj for pgsql-odbc@postgresql.org; Tue, 16 Jul 2013 05:41:26 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r6G5fNS5000631; Tue, 16 Jul 2013 01:41:23 -0400 (EDT) From: Tom Lane To: onur gulsevgi cc: pgsql-odbc@postgresql.org Subject: Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc In-reply-to: References: Comments: In-reply-to onur gulsevgi message dated "Mon, 15 Jul 2013 21:43:34 +0300" Date: Tue, 16 Jul 2013 01:41:23 -0400 Message-ID: <630.1373953283@sss.pgh.pa.us> X-Pg-Spam-Score: 0.4 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org onur gulsevgi writes: > Here are the commands to build unixODBC: > ./configure --prefix=/usr/local/unixODBC > make > make install I think the problem here is that you're installing unixODBC in a nonstandard location (viz, /usr/local/unixODBC), and then not telling psqlodbc where to find it: > oracle->>./configure --prefix=/data11/ora_bosa/bosadb/odbc/driver > --without-libpq I'm not sure about the precise incantation for Solaris, but I'd expect to see something in there pointing to /usr/local/unixODBC. What's more, this command is telling psqlodbc to install itself in a *different* location-chosen-at-random. While you might be able to make this work if you force it, it's going to make usage of the software quite unpleasant, because you'll be needing to cite these unusual paths all the time whenever you build or configure programs using ODBC. I think you'd be best advised to install these packages in the default place. regards, tom lane -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc