[Mono-dev] Debug mono ODBC ?
Robert Jordan
robertj at gmx.net
Tue Aug 9 04:19:52 EDT 2011
On 08.08.2011 21:51, quandary wrote:
>
> 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 ?
I have no idea how Debian is packaging System.Data, but
it's not trivial to foresee which provider will be
actually used at run-time. Installing *all* unmanaged
dependencies just for fun is not a desired behavior
either.
It's the job of the application to add this dependency.
> 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.
It will throw a DllNotFoundException. This will remind you
that the Oracle Client libs are not installed and configured
properly :)
Robert
More information about the Mono-devel-list
mailing list