[Mono-devel-list] Sqlite mono

Mirco Bauer meebey at meebey.net
Wed Mar 30 00:31:38 EST 2005


On Mon, 2005-03-28 at 13:54 -0300, Everaldo Canuto wrote:
> Hey,
> 
> Remember that you need libsqlite.so or libsqlite3.so on /usr/lib, some
> sqlite packages theres a problems because this files dont exists.
> 
> On my FC3 i solve this problem with this commands:
> 
> cd /usr/lib
> cp libsqlite.so.0 libsqlite.so
> cp libsqlite3.so.0 libsqlite3.so
> ldconfig
> 
> You can make symlinks and you have same efect.
> 
> Everaldo.
> 

Uh yeah, I remember this problem, it's a little bug in Mono, it does not
ship the required dllmap for sqlite.
Create the
file /usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.*/Mono.Data.SqliteClient.dll.config
with this in it:
<dllmap dll="sqlite" target="libsqlite.so.0" />
 
creating a symlink for it is a bad hack.
We use this dllmap also for the Debian packages, because some other
packages using sqlite with mono had the same problem.

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key:
http://keyserver.noreply.org/pks/lookup?op=get&search=0xEEF946C8

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
V? PS
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050330/c5945bc2/attachment.bin 


More information about the Mono-devel-list mailing list