pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC issue
2+ messages / 2 participants
[nested] [flat]

* ODBC issue
@ 2007-04-22 17:56 Karim Elsaid <karim.elsaid@gmail.com>
  2007-04-24 04:36 ` Re: ODBC issue Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: Karim Elsaid @ 2007-04-22 17:56 UTC (permalink / raw)
  To: pgsql-odbc

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: ODBC issue
  2007-04-22 17:56 ODBC issue Karim Elsaid <karim.elsaid@gmail.com>
@ 2007-04-24 04:36 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Saito @ 2007-04-24 04:36 UTC (permalink / raw)
  To: Karim Elsaid <karim.elsaid@gmail.com>; pgsql-odbc

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
>




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-04-24 04:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-04-22 17:56 ODBC issue Karim Elsaid <karim.elsaid@gmail.com>
2007-04-24 04:36 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>

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