[Mono-bugs] [Bug 555952] Mono.Data.Sqlite doesn't work in simulator on Leopard

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 16 22:13:59 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=555952#c1

Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpryor at novell.com
--- Comment #1 from Jonathan Pryor <jpryor at novell.com> 2009-11-17 03:13:56 UTC ---
The actual problem is one of P/Invoke library resolution: there are multiple
libsqlite3.dylib files available.  Of importance, there's
/usr/lib/libsqlite3.dylib, and then there's a libsqlite3.dylib present within
the iPhoneSimulator3*.sdk SDK directory.

In Snow Leopard, these are equivalent libraries.  In Leopoard, they're not.

So what's happening is that the regular mono resolves the "sqlite3" library as
/usr/lib/libsqlite3.dylib, which is wrong.  The only reason it works in Snow
Leopard is because Snow Leopard has an updated libsqlite3.dylib file (which
matches the version in iPhoneOS 3.x).

The fix is to tell Mono to load the iPhoneSimulator SDK version, not the
/usr/lib version.

I'm still trying to figure out how to do so...


-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list