[Mono-list] Mono and sqllite on OS X

Kelly Leahy kellyleahy@swbell.net
Fri, 21 Jan 2005 09:16:13 -0800 (PST)


Niklas,

This is done with a .config file in the path to the
.dll (the .NET class library assembly).  Create a file
called xxx.dll.config where xxx is the base name of
the .dll file (I think it was SqlLiteClient, I already
deleted the other email, so I don't know).  This
should be an xml file that has a dllmap element under
the configuration element with the attributes 

dll="...old dll name..." 
and 
target="...full path to new dll..."

see 

http://developerland.com/CSharpGeneral/COMInterop/198.aspx

the section on Library Names refers to this
functionality.

Kelly

--- Niklas Saers <niklas@registrar.no> wrote:

> Hi Thomas,
> is there any way I can make it search /sw instead of
> /usr/src? Any 
> environment variables, perhaps? And is there any way
> that I can make it 
> use the dylib version or the aout version of the
> file as those are the 
> only ones made on OS X?
> 
> Cheers
> 
>     Nik
> 
> Thomas Zoechling wrote:
> 
> > I suppose the problem here is that libsqlite is
> not a native mono 
> > library.
> > Mono.Data.Sqlite... is just a wrapper around
> libsqlite.so , which has 
> > to remain in /usr/lib.
>