[Mono-osx] libsqlite3.0.dylib - SQLITE_ENABLE_COLUMN_METADATA required
abryson at rm.com
Wed Oct 21 10:03:13 EDT 2009
I've got a application which usess NHibernate to access SQLite. This works
well on Windows, and I'm trying to get the application unit tests (Nunit) to
run on Mac OS X 10.5.
The unit tests have been failing because the native library
(libsqlite3.0.dylib) was not compiled with the SQLITE_ENABLE_COLUMN_METADATA
directive. My nunit tests started working again once I:
- recompiled from source
SQLITE_ENABLE_COLUMN_METADATA through CFLAGS to configure.
- overwriting the existing mono version of libsqlite3.0.dylib
with the resulting library.
I'm also using the ADO.NET provider for SQLite from
(http://sqlite.phxsoftware.com/). This requires the native SQlite library
to be in place though.
I've run my unit tests on the Mono 2.4 VMWare image which I downloaded from
the Mono website, and the tests work as expected.
1. Does mono ship a version of libsqlite3.0.dylib, and if so, can it be
updated to support SQLITE_ENABLE_COLUMN_METADATA please?
2. What else could I do to resolve this problem? I don't want to provide a
copy of the native library alongside my application, but would this be
possible to do?
View this message in context: http://www.nabble.com/libsqlite3.0.dylib---SQLITE_ENABLE_COLUMN_METADATA-required-tp25992298p25992298.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx