I've seen a couple of places mentioned where Miguel de Icaza had C#-
SQLite working on OS X, but can't pull up instructions. I've changed
the few places in the lib where Mono complains during compile and
followed the compiler flag instructions I found ("set the
SQLITE_MUTEX_OMIT flag and deleted the SQLITE_MUTEX_W32 and
SQLITE_THREADSAFE flags from the default configuration" and I do so
for all three projects) but when I hit Test1, everything busts.
Output below.
Anyone have a good source for instructions to get this to compile? I
want to use locally only, so no anything I've got to cut out is fine.
Single-user, single-box.
Output:
Symbol file /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/
mono/2.0/mscorlib.dll.mdb doesn't match image /Library/Frameworks/
Mono.framework/Versions/2.10.9/lib/mono/2.0/mscorlib.dll
Symbol file /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/
mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll.mdb
doesn't match image /Library/Frameworks/Mono.framework/Versions/2.10.9/
lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
Symbol file /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/
mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll.mdb doesn't match
image /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/
System/2.0.0.0__b77a5c561934e089/System.dll
Symbol file /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/
mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.mdb
doesn't match image /Library/Frameworks/Mono.framework/Versions/2.10.9/
lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
Symbol file /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/
mono/gac/System.Transactions/2.0.0.0__b77a5c561934e089/
System.Transactions.dll.mdb doesn't match image /Library/Frameworks/
Mono.framework/Versions/2.10.9/lib/mono/gac/System.Transactions/
2.0.0.0__b77a5c561934e089/System.Transactions.dll
Test1 Start.
Create connection...
Set connection String: Version=3,uri=file:SqliteTest31.db
Symbol file /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/
mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.mdb
doesn't match image /Library/Frameworks/Mono.framework/Versions/2.10.9/
lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
Open database...
create command...
create table TEST_TABLE...
Unhandled Exception: System.EntryPointNotFoundException: LockFileEx
at (wrapper managed-to-native) Community.CsharpSqlite.Sqlite3/
LockingStrategy:LockFileEx
(intptr,uint,uint,uint,uint,System.Threading.NativeOverlapped&)
at Community.CsharpSqlite.Sqlite3+LockingStrategy.SharedLockFile
(Community.CsharpSqlite.sqlite3_file pFile, Int64 offset, Int64
length) [0x00041] in /Users/rufbo/Documents/monoProjs/csharp-sqlite/
Community.CsharpSqlite/src/os_win_c.cs:3703
at Community.CsharpSqlite.Sqlite3.getReadLock
(Community.CsharpSqlite.sqlite3_file pFile) [0x0000c] in /Users/rufbo/
Documents/monoProjs/csharp-sqlite/Community.CsharpSqlite/src/
os_win_c.cs:1247
https://groups.google.com/forum/#!topic/csharp-sqlite/gSWi76gppHw
http://code.google.com/p/csharp-sqlite/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=128
[lots more removed]
Thanks.