[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [ldap] openLDAP with MySQL



If the build or test fails with an error about "errno" being undefined,
you're probably using a system with glibc 2.3.1 or later (e.g., Red Hat 9).
Better build the driver on your own on Linux.

Thanks,
                    Mathan

----- Original Message ----- 
From: "Deepak,R" <deepakr@india.hp.com>
To: <ldap@umich.edu>
Sent: Monday, April 05, 2004 4:35 PM
Subject: [ldap] openLDAP with MySQL


> Hi,
>
> I have having trouble in setting up openLDAP 2.1.22 to use MySQL
> 4.0.16 as back-sql. I am not able to communicate with MySQL thru' the
> ODBC driver.
>
> I have setup MySQL 4.0.16 on a RH9.0 machine as specified in
> http://www.flatmtn.com/computer/Linux-mySQL.html
>
> I have also installed MyODBC 3.51 connector & iODBC.
>
> But when I run the "odbctest", I get the following error:
> ***********************
> [root@localhost root]# iodbctest
> iODBC Demonstration program
> This program shows an interactive SQL processor
> Driver Manager: 03.51.0001.0908
>
> Enter ODBC connect string (? shows list): myodbc3
> [iODBC][Driver Manager]Specified driver could not be loaded,
> SQLSTATE=IM003
> [iODBC][Driver Manager]/usr/local/lib/libmyodbc3.so: symbol errno,
> version GLIBC_2.0 not defined in file libc.so.6 with link time
> reference, SQLSTATE=00000
>
> Have a nice day.[root@localhost root]#
> ***********************
>
> Though this is not the right forum, I felt some of you would have
> configured the unixODBC/iODBC driver for MySQL and hence can help me
> solve my problem. Sorry for the trouble.
>
> Thanks,
> Deepak
>
>