osx 10.7下的odbc

时间:2011-10-20 14:16:02

标签: mysql odbc

我正在尝试在最近几个小时内在MacOSX 10.7(Lion)下安装ODBC驱动程序......但我无法让它工作。我需要一个用于R中的RODBC包来与DB一起工作。 10.6以下一切正常: - 安装了旧驱动程序,但是当我使用/usr/bin/iodbctest对其进行测试时,我收到以下消息:

iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0607.1008

Enter ODBC connect string (? shows list): ?

DSN                              | Driver                                  
------------------------------------------------------------------------------
lugv                             | MySQL ODBC 5.1 Driver                   

Enter ODBC connect string (? shows list): lugv
1: SQLDriverConnect = [iODBC][Driver Manager]dlopen(/usr/local/lib/libmyodbc5.so, 6): no suitable image found.  Did find:
    /usr/local/lib/libmyodbc5.so: mach-o, but wrong architecture (0) SQLSTATE=00000
2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003

当我下载最新的MYSQL ODBC连接器时,它不再编译,也没有手册中提到的bin或lib文件夹......

有人有想法吗?

谢谢!

0 个答案:

没有答案