ODBC issue

ODBC issue

am 22.04.2007 19:56:32 von Karim Elsaid

------=_Part_59030_5817717.1177264592238
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------=_Part_59030_5817717.1177264592238
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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 :
 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




------=_Part_59030_5817717.1177264592238--

Re: ODBC issue

am 24.04.2007 06:36:35 von 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"
To:
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
>


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend