From: Mike Landl <mlandl@4glsol.com>
To: 'Dev Kumkar' <devdas.kumkar@gmail.com>
Cc: pgsql-odbc@postgresql.org
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> (raw)
In-Reply-To: <CALSLE1MwRzdBkkU_9uGgC7dY-35VQitQEcaeKBPDFc3_F_peFw@mail.gmail.com>
References: <007301ce7e5f$fac747c0$f055d740$@com>
<CALSLE1ONkTXJVVwB8uNXS06xrRKBtD7uEBMEQKYPhmVGU=KWiQ@mail.gmail.com>
<CALSLE1MwRzdBkkU_9uGgC7dY-35VQitQEcaeKBPDFc3_F_peFw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
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 <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=<output of #2 above>
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...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: mlandl@4glsol.com, devdas.kumkar@gmail.com
Subject: Re: unixODBC library "odbcinst" not found when configuring psqlodbc-09.01.0100
In-Reply-To: <00a501ce7e6f$4a982e40$dfc88ac0$@com>
References: <007301ce7e5f$fac747c0$f055d740$@com> <CALSLE1ONkTXJVVwB8uNXS06xrRKBtD7uEBMEQKYPhmVGU=KWiQ@mail.gmail.com> <CALSLE1MwRzdBkkU_9uGgC7dY-35VQitQEcaeKBPDFc3_F_peFw@mail.gmail.com> <00a501ce7e6f$4a982e40$dfc88ac0$@com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox