[Mono-list] compiling myodbc app on linux

Daniel Morgan danmorg@sc.rr.com
Fri, 3 Jan 2003 05:01:38 -0500

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.

You can find it here:


In mono cvs, this file is:


Feel free to provide any patches.

-----Original Message-----
From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
Behalf Of Tim Haynes
Sent: Friday, January 03, 2003 4:16 AM
To: mono-list@ximian.com
Subject: Re: [Mono-list] compiling myodbc app on linux

yoros@wanadoo.es writes:

> I have tested System.Data.Odbc with libiodbc. I had to link
> libodbc32.so to /usr/lib/libiodbc.so and set LD_LIBRARY_PATH to the
> dir where libodbc32.so is.

Agreed, it works, but I'm wondering: is there not a config file
somewhere that determines (indirectly) the name of the shared library,
either at compile- or run-time?

I'm also in the process of testing compatibility with postgresql &
mysql using a couple of drivers each.


Product Development Consultant
OpenLink Software
Tel: +44 (0) 20 8681 7701
Web: <http://www.openlinksw.com/>
Universal Data Access & Data Integration Technology Providers

Mono-list maillist  -  Mono-list@ximian.com