[Mono-dev] System.Data.SQLite under mono
Jonathan Pryor
jonpryor at vt.edu
Tue May 12 11:17:30 EDT 2009
On Mon, 2009-05-11 at 23:08 -0700, Arne Claassen wrote:
> I'm trying to get phxsoftware's System.Data.SQLite managed-only dll
> working under mono. The readme claims i should just need the binary in
> the same directory and it works for mono. It does work for windows, i
> just drop sqlite3.dll in the dir and it works. However, i try the same
> with sqlite3.so and i get the following on opening the connection:
It should be libsqlite3.so, not sqlite3.so.
You should also try running with the MONO_LOG_LEVEL and MONO_LOG_MASK
environment variables exported to view additional diagnostic
information:
MONO_LOG_LEVEL=info MONO_LOG_MASK=dll mono yourapp.exe
This will allow you to determine if libsqlite3.so is actually being
found (and if so, which one is being found).
You may also check to see that sqlite3_next_stmt is exported from your
libsqlite3.so file:
nm -D /path/to/libsqlite3.so | grep sqlite3_next_stmt
- Jon
More information about the Mono-devel-list
mailing list