[Mono-dev] Issue with the system.DllNotFoundException

Rafael Teixeira monoman at gmail.com
Sat Jul 21 09:22:59 EDT 2007


Why are you using ODBC, instead of one of the MySQL specific providers?

To use the ODBC provider you need to have the native libs for odbc installed.

Regards,

On 7/18/07, Abir Bhattacharya <abirb at 2pirad.com> wrote:
>
>
>
>
> Hi
>
>
>
> Am getting this error while I am trying to connect to the MySql DB. (however
> there are no compile time problems) . I am running mono on VM Ware (openSuse
> 10.2 ).
>
>
>
>
>
> System.DllNotFoundException: libodbc.so
>
>   at (wrapper managed-to-native)
> System.Data.Odbc.libodbc:SQLAllocHandle
> (System.Data.Odbc.OdbcHandleType,intptr,intptr&)
>
>   at System.Data.Odbc.OdbcConnection.Open () [0x00014] in
> /tmp/scratch/BUILD/mono-1.2.4/mcs/class/System.Data/System.Data.Odbc/OdbcConnection.cs:338
>
>
>
> Please help
>
>
>
> Regards
>
>
>
> Abir
>
>
> -- Visit us at http://www.2pirad.com/ --
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"I myself am made entirely of flaws, stitched together with good intentions."
Augusten Burroughs



More information about the Mono-devel-list mailing list