[Mono-list] compiling myodbc app on linux
Paolo Molaro
lupus@ximian.com
Fri, 3 Jan 2003 13:13:08 +0100
On 01/03/03 Daniel Morgan wrote:
> There is the etc/mono/config file that maps a dll name used in the DllImport
> to the actual shared library file. However, I haven't got it to work for
> me. I've heard the config file is platform specific.
Can you investidate why it didn't work for you?
Running:
strace -e open mono testprog.exe
should show what libraries it's trying to load.
Note that you need separate mappings for the .dll and non .dll library
name:
<dllmap dll="odbc32.dll" target="libodbc.so" />
<dllmap dll="odbc32" target="libodbc.so" />
Does that make it work?
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better