osx 10.7 下的 odbc

发布于 2024-12-11 01:31:43 字数 1030 浏览 0 评论 0原文

自过去几个小时以来,我一直在尝试在 MacOSX 10.7 (Lion) 下安装 ODBC 驱动程序...但我无法让它工作。我需要一个 RODBC 包来处理数据库。 在 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 文件夹...

有人有想法吗?

谢谢!

I'm trying to install an ODBC driver under MacOSX 10.7 (Lion) since the last few hours... But I can't get it to work. I need one for the RODBC package in R to work with a DB.
Under 10.6 everything worked fine :-\
The old drivers are installed, but when I test it with /usr/bin/iodbctest I get the following message:

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

When I download the newest MYSQL ODBC Connector, it doesn't compile anymore and also doesn't have a bin or lib folder as mentioned in the manual...

Does someone have an idea?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文