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

Ondřej Surý ondrej@sury.org
Sun, 05 Sep 2004 09:50:21 +0200


--=-gr4YOLrSBmvfzzWKJbMk
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,

I am packaging f-spot 0.0.2 and encountered following error when
executing packaged application:

$ f-spot

Unhandled Exception: System.DllNotFoundException: sqlite
in <0x00053> (wrapper managed-to-native) Mono.Data.SqliteClient.SqliteConne=
ction:sqlite_open (string,int,string&)
in [0x00031] (at /home/inet/debian/dev/build-area/mcs-1.0.1/class/Mono.Data=
.SqliteClient/Mono.Data.SqliteClient/SqliteConnection.cs:157) Mono.Data.Sql=
iteClient.SqliteConnection:Open ()
in [0x00054] (at /tmp/buildd/f-spot-0.0.2/src/Db.cs:142) Db:.ctor (string,b=
ool)
in [0x00061] (at /tmp/buildd/f-spot-0.0.2/src/main.cs:26) Driver:Main (stri=
ng[])

f-spot.exe.config is:
<configuration>
  <dllmap dll=3D"libglib-2.0-0.dll" target=3D"libglib-2.0.so.0"/>
  <dllmap dll=3D"libgobject-2.0-0.dll" target=3D"libgobject-2.0.so.0"/>
  <dllmap dll=3D"libgtk-win32-2.0-0.dll" target=3D"libgtk-x11-2.0.so.0"/>
  <dllmap dll=3D"libgdk_pixbuf-2.0-0.dll" target=3D"libgdk_pixbuf-2.0.so.0"=
/>
</configuration>

Adding line:
  <dllmap dll=3D"sqlite" target=3D"libsqlite.so.0"/>
to f-spot.exe.config doesn't help.

Adding this line to /etc/mono/config *does* help.

(I even tried libsqlite.dll libsqlite sqlite.dll lines...)

Either there is bug in process *.exe.config's or there is some other
error.

Please CC: me, I am not on the list.

Regards,
--=20
Ond=C5=99ej Sur=C3=BD <ondrej@sury.org>

--=-gr4YOLrSBmvfzzWKJbMk
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)

iD8DBQBBOsU89OZqfMIN8nMRAtgyAKCUAiT6e2cQwAYQFYywxSuJk2KJ5QCgnUTA
3pGsTI0oinFt4yXtWWVP7dw=
=uoqE
-----END PGP SIGNATURE-----

--=-gr4YOLrSBmvfzzWKJbMk--