[Mono-list] DB2 Status? (db2_36.so and DB2 9 Viper, etc)
jesse.sightler at gmail.com
Mon Sep 4 01:03:05 EDT 2006
Actually, I don't see any db2_xx.so files in my db2 installation at all.
Anyway, is there any documentation for going the ODBC route?
On 9/2/06, Daniel Morgan <monodanmorg at yahoo.com> wrote:
> Take a look at you mono_prefix/etc/mono/config file.
> The filename is just config.
> Look for a dllmap entry.
> Change the target to whatever shared library you have.
> If there is no entry there add it.
> An example:
> <dllmap dll="db2cli" target="db2_36.so"/>
> <dllmap dll="db2_36" target="db2_90.so"/>
> <dllmap dll="db2_36.dll" target="db2_90.so"/>
> dll is the library it is looking for or whatever it is
> defined in the DllImport attribute.
> target is the library filename to map the dll to.
> By the way, the DB2 provider is unmaintained. Unless,
> you care to provide patches.
> So, I recommend using the ODBC provider instead.
> --- Jesse Sightler <jesse.sightler at gmail.com> wrote:
> > Hi All,
> > I just tried running a test against DB2 from Mono
> > using the
> > IBM.Data.DB2 provider in Mono, and received the
> > following error:
> > Unhandled Exception: System.DllNotFoundException:
> > db2_36
> > I am assuming this is because I do not have the
> > db2_36.so library.
> > What is interesting, though, is that the DB2 V9
> > ExpressC installation
> > that I am trying to run this against also does not
> > seem to have this
> > library (or any other db2_xx.so libs).
> > Is there a version of Mono that will work with DB2
> > 9? Or is there
> > some other workaround available?
> > I saw the page at
> > http://www.mono-project.com/IBM_DB2 but it is very
> > light on details (version numbers).
> > Thanks,
> > Jess
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Mono-list