dongshao1873 2014-08-16 19:42
浏览 116
已采纳

无法打开游标lib'libodbccr'

I'm trying to connect to a .mdb file, and installed MDBTools

When I run the PHP script this is the error I get;

[unixODBC][Driver Manager]Can't open cursor lib 'libodbccr'

Under /usr/lib64 I find the following similar libs;

  • libodbccr.so.2
  • libodbccr.so.2.0.0

Is there a configuration file I need to edit, because to me it seems like the lib is there, just that unixODBC cant find it?

  • 写回答

1条回答 默认 最新

  • donglu8344812 2014-08-16 19:58
    关注

    After a little searching around I came across a solution, apparently there is a but in CentOS.

    This fixed the problem for me;

    sudo ln /usr/lib64/libodbccr.so.2 /usr/lib64/libodbccr.so.1
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 maple软件,用solve求反函数出现rootof,怎么办?
  • ¥50 汇编语言除法溢出问题
  • ¥65 C++实现删除N个数据列表共有的元素
  • ¥15 Visual Studio问题
  • ¥15 state显示变量是字符串形式,但是仍然红色,无法引用,并显示类型不匹配
  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题
  • ¥20 在虚拟机的pycharm上
  • ¥15 jupyterthemes 设置完毕后没有效果
  • ¥15 matlab图像高斯低通滤波