[freetds] libtdsodbc: cannot open shared object file

Yves Dorfsman yves at zioup.com
Thu Mar 2 13:37:06 EST 2006


Running on RedHat AS 3 update 6, with:
freetds-0.62.1-1
freetds-unixodbc-0.62.1-1
and
unixODBC-2.2.8-2.3.0.2
unixODBC-kde-2.2.8-2.3.0.2
unixODBC-2.2.8-2.3.0.2

I am get the following error:
isql -v  MYDB ims_reader
[01000][unixODBC][Driver Manager]Can't open lib
'/usr/lib/libtdsodbc.so.0.0.0' : /usr/lib/libtdsodbc.so.0.0.0: cannot open
shared object file: No such file or directory
[ISQL]ERROR: Could not SQLConnect

The file is there and does exist:
ls -l /usr/lib/libtdsodbc.so.0.0.0
-rwxr-xr-x    1 root     root       272540 Jan 13  2004
/usr/lib/libtdsodbc.so.0.0.0

and ldd on it doesn't come up with any error. I have also tried with just
libtdsodbc.so which is a link to the above one, but got the same results.

I am able to connect to the database via tsql, but as soon as I use the
freetds driver in odbc, I get this error message...

Anybody got that problem before ? Any idea ?


Thanks.

Yves.
PS: I've tried to locate the source of libtdsodbc.so, to recompile it, but
can't find it.

----
Yves Dorfsman                                             yves at zioup.com
                                         http://www.cuug.ab.ca/dorfsmay
                                         http://www.SollerS.ca




More information about the FreeTDS mailing list