phppdounixodbcmdbtoolscentos6.5

Can't open cursor 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;

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?


Solution

  • 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