This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 240 - libsqlite3.dylib not found
: libsqlite3.dylib not found
Product: iOS
Classification: Xamarin
Component: XI runtime
: 4.x
: PC Mac OS
: --- normal
: Untriaged
Assigned To: Bugzilla
  Show dependency treegraph
Reported: 2011-08-09 08:41 EDT by Mike Bluestein
Modified: 2011-08-09 08:50 EDT (History)
2 users (show)

See Also:
Tags: SQLite


Description Mike Bluestein 2011-08-09 08:41:42 EDT
I'm getting a DLLNotFoundException in the simulator. 

Unhandled Exception: System.DllNotFoundException:
  at (wrapper managed-to-native)
  at Mono.Data.Sqlite.SQLite3.Open (System.String strFilename,
SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool) [0x00040] in
  at Mono.Data.Sqlite.SqliteConnection.Open () [0x0021a] in

This is on Lion with Xcode 4.1, iOS 4.3, Mono 2.10.3 MonoDevelop 2.4.2 and
MonoTouch MonoTouch seems to be looking for it in the iOS 3.2
simulator, which I don't have on this machine. Nothing is set for 3.2 in the
project. Work-around is just to create the 3.2 directory and copy the
libsqlite3.dylib from the 4.3 sdk.
Comment 1 Rolf Bjarne Kvinge 2011-08-09 08:50:54 EDT
This has been fixed already and will be in the upcoming 4.1 release.

Note You need to log in before you can comment on or make changes to this bug.