Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UxMoX-0003Jn-Ew for pgsql-odbc@arkaria.postgresql.org; Thu, 11 Jul 2013 19:46:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UxMoW-0002rz-Tg for pgsql-odbc@arkaria.postgresql.org; Thu, 11 Jul 2013 19:46:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UxMoW-0002rt-AB for pgsql-odbc@postgresql.org; Thu, 11 Jul 2013 19:46:04 +0000 Received: from 4glsol.com ([69.27.101.140]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UxMoR-0000MF-OD for pgsql-odbc@postgresql.org; Thu, 11 Jul 2013 19:46:03 +0000 Received: from cmr-208-124-135-50.cr.net.cable.rogers.com ([208.124.135.50]:44664 helo=mike) by cp1017.blacksun.ca with esmtp (Exim 4.80.1) (envelope-from ) id 1UxMoL-001Oxl-Vk; Thu, 11 Jul 2013 13:45:54 -0600 From: "Mike Landl" To: "'Dev Kumkar'" Cc: References: <007301ce7e5f$fac747c0$f055d740$@com> In-Reply-To: Subject: Re: unixODBC library "odbcinst" not found when configuring psqlodbc-09.01.0100 Date: Thu, 11 Jul 2013 15:46:08 -0400 Message-ID: <00a501ce7e6f$4a982e40$dfc88ac0$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A6_01CE7E4D.C3868E40" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac5+bjO/m74Lmi5ZTOWo7+NS2OwDLAAAKRtg Content-Language: en-us X-ACL-Warn: { X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp1017.blacksun.ca X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - 4glsol.com X-Get-Message-Sender-Via: cp1017.blacksun.ca: acl_c_relayhosts_text_entry: mlandl@4glsol.com|4glsol.com X-Source: X-Source-Args: X-Source-Dir: X-Pg-Spam-Score: -2.2 (--) 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 This is a multi-part message in MIME format. ------=_NextPart_000_00A6_01CE7E4D.C3868E40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Dev, Sorry, the last command I tried was "./configure --without-libpq --with-unixodbc=/usr/local" and that is when I received the error about not being able to create executables. I must admit I'm not entirely sure why I'm using "-without-libpq", I am following internal company documentation that was left by someone who no longer works here. I can only assume there was a reason for this. From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dev Kumkar Sent: Thursday, July 11, 2013 3:38 PM To: Mike Landl Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] unixODBC library "odbcinst" not found when configuring psqlodbc-09.01.0100 On Fri, Jul 12, 2013 at 12:08 AM, Dev Kumkar wrote: On Thu, Jul 11, 2013 at 11:26 PM, Mike Landl wrote: I am trying to build psqlodbc-09.01.0100.tar from source on Red Hat ES 6.3, gcc version 4.4.7-3. When I run "./configure -without-libpq" it fails with the following output: ./configure --without-libpq checking for a BSD-compatible install... /usr/bin/install -c ... checking ... checking ... checking ... configure: error: unixODBC library "odbcinst" not found I can provide the contents of config.log if required but it is rather large. I have unixODBC version 2.2.11 installed. odbc_config -version confirms this. Any thoughts/help would be greatly appreciated. What output you get for following: 1) which odbc_config 2) odbc_config --libs Also did you try to export following and then building psqlODBC: export LDFLAGS= for example: # export LDFLAGS=-L/usr/local/lib Also you could add --with-unixodbc=/usr/local in ./configure. By the way any particular reason to use -without-libpq option? Regards... ------=_NextPart_000_00A6_01CE7E4D.C3868E40 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Dev,

 

Sorry, the last command I tried was “./configure = --without-libpq --with-unixodbc=3D/usr/local” and that is when I = received the error about not being able to create = executables.

I must admit I’m not entirely sure why I’m using = “—without-libpq”, I am following internal company = documentation that was left by someone who no longer works here. I can = only assume there was a reason for this.

 

 

 

From:= = pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] = On Behalf Of Dev Kumkar
Sent: Thursday, July 11, 2013 = 3:38 PM
To: Mike Landl
Cc: = pgsql-odbc@postgresql.org
Subject: Re: [ODBC] unixODBC library = "odbcinst" not found when configuring = psqlodbc-09.01.0100

 

On Fri, Jul 12, 2013 at 12:08 AM, Dev Kumkar <devdas.kumkar@gmail.com> = wrote:

On Thu, = Jul 11, 2013 at 11:26 PM, Mike Landl <mlandl@4glsol.com> = wrote:

I am trying = to build psqlodbc-09.01.0100.tar from source on Red Hat ES 6.3, gcc = version 4.4.7-3. When I run “./configure = –without-libpq” it fails with the following = output:

./configure = --without-libpq

checking for a BSD-compatible = install... /usr/bin/install -c

...

checking = ...

checking ...

checking = ...

configure: error: unixODBC library = "odbcinst" not = found

 

I can provide the = contents of config.log if required but it is rather = large.

I have unixODBC version 2.2.11 installed. = odbc_config –version confirms this.

Any = thoughts/help would be greatly = appreciated.

 

What output you get for following:
1) = which odbc_config
2) odbc_config --libs

Also did you try to = export following and then building psqlODBC:
export = LDFLAGS=3D<output of #2 above>

for example:
# export = LDFLAGS=3D-L/usr/local/lib

 


Also you could add --with-unixodbc=3D/usr/local = in ./configure.

By the way any particular reason to use = –without-libpq option?

Regards... =

------=_NextPart_000_00A6_01CE7E4D.C3868E40--