[unixODBC-support] cannot open shared object file libodbccr.1

Nick Gorham nick at easysoft.com
Tue Aug 17 21:56:27 BST 2004

David Kramer wrote:
> More than slightly baffled, trying to connect to a MS SQL server database
> utilizing ADOdb.  I'm getting an error trying to connect of the following:
> [unixODBC][Driver Manager]Can't open cursor lib 'libodbccr' :
> /usr/lib/libodbccr.1 cannot open shared object file:  No such file
> I've verified that indeed, there is no libodbccr.1 in the /usr/lib
> directory, only:
> libodbccr.a libodbccr.so libodbccr.so.1 libodbccr.so.1.0.0
> I'm trying to utilize the freetds odbc driver which I've setup in
> ODBCCOnfig, and have tested with isql (isql -v MSSQLServer username
> password) and it works correctly.
> PHP is compiled thusly:

Hmm, sounds like its failed to extract the lib extension during the 
config. isql wont invoke the cursor lib so you won't see the problem.

What platform is it ?

Simple fix may be just to create a symbolic link to the lib its trying 
to open.

Nick Gorham
Easysoft Limited

More information about the unixODBC-support mailing list