[Mono-dev] Debug mono ODBC ?

quandary quandary82 at hailmail.net
Mon Aug 8 15:51:10 EDT 2011

    <dllmap dll="i:odbc32.dll" target="libodbc.so" os="!windows"/>

Pretty much self explaining.

Thanks !

The only thing that is not self explaining is, that if mono requires
libodbc.so, that is to say package unixodbc-dev, why is it not in the
dependency list of mono, at least not on Ubuntu/Debian ?

It threw a nice libodbc.so not found, however.

Another funny thing is this libclntsh.so.
    <dllmap dll="oci" target="libclntsh.so" os="!windows"/>

I didn't find any such file with the apt-file repository search tool.
A quick google revealed |ORACLE_HOME| and |LD_LIBRARY_PATH|.
So I assume that it's System.Data.OracleClient that will go BOOM! if
that .so is not present.

MDBtools is not that rotten.
It worked fine with everything except hyperlink columns, and with them,
I already had trouble on Windows with Ole.

More severe is that there's nothing like mdbtools for *.accdb (access
But anyway, who cares about Access. It's one piece of crap.

I was actually looking for my colleague, who has a 'nice' piece of
software, and somebody asked him whether it would run on Mac. I read
mdbtools can be compiled on Mac, so I thought ODBC might save the day,
that is, if his usage of WinForms is all implemented (since it's nothing
fancy, I think that's the case, though it might not look that stunning).

I personally find, that for an embeddable DB, FireBird (formerly
InterBase) is parsecs more advanced.

My guess is the ODBC related bug might be an encoding issue, which could
explain the lack of '\0'.
But then again, that's not certain.

On 08/08/2011 11:31 AM, Robert Jordan wrote:
> On 06.08.2011 12:43, quandary wrote:
>> I assume I now have to write a C test program and see what goes wrong.
>> I suppose "odbc32.dll" maps to
>> unixodbc-dev: /usr/lib/libodbc.so
>> Is that right ?
>> Or where can I see what odbc32.dll maps to ?
> Look at $mono-prefix/etc/mono/config.
> BTW, mdbtools was last changed 4 years ago. Odds are it is a tad
> bit-rotten.
> Robert
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110808/1060cf54/attachment.html 

More information about the Mono-devel-list mailing list