Обсуждение: ODBC issue

Поиск
Список
Период
Сортировка

ODBC issue

От
"Karim Elsaid"
Дата:
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

Re: ODBC issue

От
"Hiroshi Saito"
Дата:
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
>