[Pkg-mono-devel] RFH: f-spot dllmap error

Mirco Bauer meebey@meebey.net
Sun, 05 Sep 2004 13:00:02 +0200


--=-HOX5R8gLyhux1CcPci86
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

Hi,

On Sun, 2004-09-05 at 09:50, Ond=F8ej Sur=FD wrote:
> Hello,
>=20
> I am packaging f-spot 0.0.2 and encountered following error when
> executing packaged application:
>=20
> $ f-spot
>=20
> Unhandled Exception: System.DllNotFoundException: sqlite
> in <0x00053> (wrapper managed-to-native) Mono.Data.SqliteClient.SqliteCon=
nection:sqlite_open (string,int,string&)
> in [0x00031] (at /home/inet/debian/dev/build-area/mcs-1.0.1/class/Mono.Da=
ta.SqliteClient/Mono.Data.SqliteClient/SqliteConnection.cs:157) Mono.Data.S=
qliteClient.SqliteConnection:Open ()
> in [0x00054] (at /tmp/buildd/f-spot-0.0.2/src/Db.cs:142) Db:.ctor (string=
,bool)
> in [0x00061] (at /tmp/buildd/f-spot-0.0.2/src/main.cs:26) Driver:Main (st=
ring[])

programs or library can wrap C libraries, for this they map C# functions
into DLLs (libraries). The config option dllmap tells which exact
library to load, it's required either in the _calling_ .config file _or_
the global mono config. This is the reason it doesn't work for you, the
call comes not from f-spot to load the library, its this file:
/usr/share/dotnet/mono/gac/Mono.Data.SqliteClient/1.0.5000.0__0738eb9f132ed=
756/Mono.Data.SqliteClient.dll
and _here_ is missing the proper .config file, it looks like a upstream
bug since all other libraries got the config file. Anyhow here is
nothing you can fix, please report this bug upstream.

thanks

Mirco Bauer


--=-HOX5R8gLyhux1CcPci86
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQEVAwUAQTrxsHEn5avu+UbIAQLH1Af/SvAOchgZi8AjCEGeCZLueBI+DFJKCiZN
krUPVePJZJlnf94h/9yPZSMD6G10QTiE1LH2lYWd2jPnW/rxx0wBR0QpexkDFoy5
dfE7gQkaXxLb1o9wHUPK9+sBmtrgg2pMvvHWpyfBqvhdvo2Q+ZziJzDceQNPrQN4
WosevTAS+B9YA/jPtNsnDK51dGGAlYnFzjBIJ0sPkAjCDRrSpRmvWrrAu6xfHQeP
caTf3S+/5lhV1yYjM2sV6nZNmjBGAP/8EZ+yUSI0WNpR935v14+Gv7lWe3Mki2CV
OKox0kiWeK/JT+B5ywhBvF4xliK8LWY59cE8zMKMvjKEkOun+8Cg0g==
=NfiT
-----END PGP SIGNATURE-----

--=-HOX5R8gLyhux1CcPci86--