[ubuntu-mono] [Bug 52028] Mapping odbc32.dll (solved)
caligari
rafacouto at gmail.com
Wed Jul 5 22:07:25 UTC 2006
Public bug reported:
Binary package hint: mono-common
In Dapper (amd64), package mono-common 1.1.13.6-0ubuntu3:
Using System.Data.Odbc library, compiled programs crash when open ODBC
connection:
// C# code:
scn_Test = new OdbcConnection("DSN=mysql_test;Uid=test;Pwd=test;");
scn_Test.Open();
Unhandled Exception: System.DllNotFoundException: libodbc.so
in (wrapper managed-to-native) System.Data.Odbc.libodbc:SQLAllocHandle (System.Data.Odbc.OdbcHandleType,intptr,intptr&)
in <0x000bf> System.Data.Odbc.OdbcConnection:Open ()
I have solved mapping odbc32.dll from libodbc.so to libiodbc.so in /etc/mono/config:
<dllmap dll="odbc32.dll" target="libiodbc.so" />
** Affects: mono (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Mapping odbc32.dll (solved)
https://launchpad.net/bugs/52028
More information about the Ubuntu-mono
mailing list