[Mono-bugs] [Bug 64328][Cri] New - System.Data.Odbc doesn't works on Linux

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 27 Aug 2004 10:03:23 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rogerio.araujo@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=64328

--- shadow/64328	2004-08-27 10:03:23.000000000 -0400
+++ shadow/64328.tmp.9946	2004-08-27 10:03:23.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 64328
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rogerio.araujo@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Data.Odbc doesn't works on Linux
+
+When i try to use System.Data.Odbc on Linux to read some data in MS Access
+Database using mdbtools odbc driver i got some errors, like this one:
+
+System.DllNotFoundException: odbc32
+in <0x00053> (wrapper managed-to-native)
+System.Data.Odbc.libodbc:SQLAllocHandle
+(System.Data.Odbc.OdbcHandleType,intptr,intptr&)
+in [0x00020] (at
+/cvs/1-mono/mcs/class/System.Data/System.Data.Odbc/OdbcConnection.cs:271)
+System.Data.Odbc.OdbcConnection:Open ()
+in <0x0004f> (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcConnection:Open ()
+in [0x0003d] (at /tmp/90573.0.cs:74) ASP.sumario_aspx:__RenderTree
+(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
+in <0x00069> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_HtmlTextWriter_Control
+(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
+in [0x00019] (at
+/cvs/1-mono/mcs/class/System.Web/System.Web.UI/Control.cs:611)
+System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter)
+in [0x00002] (at
+/cvs/1-mono/mcs/class/System.Web/System.Web.UI/Control.cs:605)
+System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter)
+in [0x0000d] (at
+/cvs/1-mono/mcs/class/System.Web/System.Web.UI/Control.cs:776)
+System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter)
+in [0x001eb] (at
+/cvs/1-mono/mcs/class/System.Web/System.Web.UI/Page.cs:770)
+System.Web.UI.Page:InternalProcessRequest ()
+in [0x00052] (at
+/cvs/1-mono/mcs/class/System.Web/System.Web.UI/Page.cs:720)
+System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in [0x00091] (at
+/cvs/1-mono/mcs/class/System.Web/System.Web/HttpApplication.cs:444)
+ExecuteHandlerState:Execute ()
+in [0x0001e] (at
+/cvs/1-mono/mcs/class/System.Web/System.Web/HttpApplication.cs:708)
+StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)
+
+I have all requeriments installed (unixODBC and mdbtools) in /usr/lib
+directory and my config file has the proper dll mapping to libodbc.so but
+System.Data.Odbc still doesn't works, what i need to do?