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

kangaroo grompf at sublimeintervention.com
Mon Feb 7 16:57:28 EST 2005


Well you've just explained your problem.  You linked sqlite3 to  
libsqlite.so which is wrong first off.  Second; just add Version=3 to  
the connection string and it will use Sqlite3

-kangaroo

On 7-Feb-05, at 4:45 PM, Digger3 wrote:

> I'm sorry, but I made some massive typo with 'libsql'. I ment sqlite.
> Anyway, all of my troubles disappeared by editting the sqlite mono  
> class file and set the default version to 3 instead of 2. Although it  
> should be possible with a different connection string as well. Mono  
> was aparently searching for a version 2 of the sqlite library, while I  
> had installed version 3.
>
> Anyway, thanks for the help,
>
>
> Thomas
>
>
> Rafael Teixeira wrote:
>
>> Are you Digger3, that already posted that question? Anyway, I'll copy
>> my previous reply:
>>
>> I think you should have a symlink from /usr/lib/libsqlite.so.0 to
>> /usr/lib/libsqlite.so.0.8.6.
>>
>> I don't think libsql is in anyway related to sqlite ...
>> (Only thing I've found on google about libsql is related to cyrus-sasl
>> sql plugin:  
>> http://rpm.pbone.net/index.php3/stat/4/idpl/1601596/com/cyrus-sasl- 
>> sql-2.1.19-3.i386.rpm.html)
>>
>> HIH,
>>
>> On Sun, 06 Feb 2005 19:22:55 +0100, Thomas Markus
>> <Thomas.Markus at phil.uu.nl> wrote:
>>
>>> 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
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>>
>>
>>
>>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> !DSPAM:4207dfe7271019093850963!
>




More information about the Mono-devel-list mailing list