[Mono-list] ODBC Problem

T Sureshkumar tsureshkumar at novell.com
Mon Oct 10 00:45:07 EDT 2005


>>> On Thu, Oct 6, 2005 at  8:25 pm, in message
<f564f51b0510060755x2bfdfc53xa3b912815dfec339 at mail.gmail.com>, Melissa
Vandenbrink <melissa.vandenbrink at gmail.com> wrote: 
> I'm having problems connecting to Sybase with ODBC with Suse
x86_64bit
> software.. same code works on 32 bit system.. any ideas?
> 
> mvandenb at susews01:~/bin> mono odbcConnectTest.exe
> 
> Unhandled Exception: System.Data.Odbc.OdbcException:
[unixODBC][Driver
> Manager]Can't open lib '/usr/local/freetds/lib/libtdsodbc.so' :
> /usr/local/freetds/lib/libtdsodbc.so: cannot open shared object file:
No
> such file or directory
> in <0x0046c> System.Data.Odbc.OdbcConnection:Open ()
> mvandenb at susews01:~/bin> ls - l /usr/local/freetds/lib/libtdsodbc.so
> lrwxrwxrwx 1 root root 19 2005- 10- 06 10:27
> /usr/local/freetds/lib/libtdsodbc.so - > libtdsodbc.so.0.0.0
> mvandenb at susews01:~/bin>

looks like driver problem. check whether you have file libtdsodbc.so.

edit odbc.ini or odbcinst.ini in either /etc or /etc/unixODBC.

suresh.


More information about the Mono-list mailing list