[Mono-devel-list] sqlite EntryPointNotFoundException error with mono

Thomas Markus Thomas.Markus at phil.uu.nl
Sun Feb 6 13:22:55 EST 2005


Hi,

I tried experimenting with sqlite from mono, the test example compiles 
just fine. But when I try to run it, I get a:

---
Unhandled Exception: System.DllNotFoundException: sqlite
in <0x0004a> (wrapper managed-to-native) 
Mono.Data.SqliteClient.Sqlite:sqlite_open (string,int,intptr&)
in <0x00078> Mono.Data.SqliteClient.SqliteConnection:Open ()
in <0x00065> Database:Main (string[])
---

Previous messages on the listed suggested that I should add a new 
symlink from
/usr/lib/libsql.so.0.8.6 --> /usr/lib/libsql.so.
This made sure that the 'DllNotFoundException' error disappeared, but 
introduced a new one namely:

---
Unhandled Exception: System.EntryPointNotFoundException: sqlite_open
in <0x0004a> (wrapper managed-to-native) 
Mono.Data.SqliteClient.Sqlite:sqlite_open (string,int,intptr&)
in <0x00078> Mono.Data.SqliteClient.SqliteConnection:Open ()
in <0x00065> Database:Main (string[])
---

I also tried putting an additional dllmap in the mono 'config' file, but 
this did not help as well.
I am running gentoo, and for as far as I know, shouldn't be needing any 
more -dev packages.
BTW I am running mono CVS.


Thanks in advance,

Thomas



More information about the Mono-devel-list mailing list