From: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
To: Karim Elsaid <karim.elsaid@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: ODBC issue
Date: Tue, 24 Apr 2007 13:36:35 +0900
Message-ID: <01e601c7862a$2419fda0$c701a8c0@wiseknot.local> (raw)
References: <793e7b2f0704221056s3cb36900h697d52cdca36295e@mail.gmail.com>
Hi.
Sorry very late reaction...
Um, Though the version that you use is uncertain.
However, Please try as follows.
% find /usr/include /usr/local/include -name odbcinst.h
/usr/local/include/odbcinst.h
So,
CPPFLAGS="-I/usr/local/include"
LDFLAGS="-L/usr/lib -L/usr/local/lib"
export CPPFLAGS LDFLAGS
configure --enable-unicode --with-unixodbc --with-odbcver=0x0300 --enable-pthreads
gmake
BTW, I think further adjustment of configure.ac is necessary.
It is my TODO...
Regards,
Hiroshi Saito
----- Original Message -----
From: "Karim Elsaid" <karim.elsaid@gmail.com>
To: <pgsql-odbc@postgresql.org>
Sent: Monday, April 23, 2007 2:56 AM
Subject: [ODBC] ODBC issue
> Hi,
>
> I am trying to install the odbc driver on a fedora box, I always get the
> line
>
> "configure: error: no suitable ODBC driver manager found"
>
> I installed unixODBC and libiodbc rpms but the problem wasn`t resolved..
>
> Can someone please tell me what file is it exactly looking for and where
> does it look for it?
>
> I see in configure.ac:
> AC_CHECK_LIB(odbcinst, SQLGetPrivateProfileString,
> [with_unixodbc=yes],
>
> I have odbcinst in /usr/lib and I set the LD_LIBRARY_PATH as such but it
> stops at the same line again..
>
> some help would be greatly appreciated..
>
> Thanks,
> Karim
>
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: z-saito@guitar.ocn.ne.jp, karim.elsaid@gmail.com
Subject: Re: ODBC issue
In-Reply-To: <01e601c7862a$2419fda0$c701a8c0@wiseknot.local>
References: <793e7b2f0704221056s3cb36900h697d52cdca36295e@mail.gmail.com> <01e601c7862a$2419fda0$c701a8c0@wiseknot.local>
* 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