[Mono-osx] upgrade sqlite3.dll to a custom build
lammens.steven at telenet.be
Thu Dec 4 07:48:16 EST 2008
- compile sqlite from source on OSX
CFLAGS="-Os -DSQLITE_ENABLE_COLUMN_METADATA" ./configure
- open System.Data.SQLite.dll.config and add the following:
<dllmap dll="sqlite3" target="./libsqlite3.0.dylib" os="!windows"/>
That did it for me!
> I built an application which uses the managed-only version of
> System.Data.SQLite provided at http://sqlite.phxsoftware.com/ Using this
> library, I can use the same compiled program and run it on windows (by
> placing my windows sqlite3.dll binary in the same folder with the
> executable) or on OSX using mono. However, System.Data.SQLite requires a
> later version of sqlite3 than comes with the mono installation on OSX. So
> I need to be able to compile the latest sqlite3 into a dll and place it
> properly so that it gets used by System.Data.SQLite.
> Can anyone tell me how I can either Replace or upgrade the sqlite3.dll
> library, or where to put my own sqlite3.dll library so that it gets used
> instead of the one that ships with mono?
> I am attaching an overly-simple test app I wrote which should help convey
> the issue, if I haven't done a good job here.
> http://www.nabble.com/file/p20668551/SQLiteTestApp.zip SQLiteTestApp.zip
View this message in context: http://www.nabble.com/upgrade-sqlite3.dll-to-a-custom-build-tp20668551p20832757.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx