Mapping odbc32.dll (solved)

Bug #52028 reported by caligari
2
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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" />

Revision history for this message
Sebastian Dröge (slomo) wrote :

This bug is fixed in edgy since some time because of the new mono package layout but it's not easily possible to fix this in dapper.

Changed in mono:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.