[Mono-aspnet-list] Unable to build XSP - cannot find metadata file `Mono.Data.SqliteClient.dll'

Alexander M. Batishchev abatishchev at godfather.net.ru
Sat Mar 20 21:31:43 EDT 2010


I have only one mono installed - with prefix=/usr

Also both libsqlite, version 2 and 3, with dev packages.

$ dpkg -l libsqlite*
un  libsqlite-dev  <none>         (no description available)
ii  libsqlite0     2.8.17-6       SQLite shared library
ii  libsqlite0-dev 2.8.17-6       SQLite development files
ii  libsqlite3-0   3.6.22-1       SQLite 3 shared library
ii  libsqlite3-dev 3.6.22-1       SQLite 3 development files

But have only Sqlite not SqliteClient.

$ ls /usr/lib/mono/2.0/Mono.Data.*
/usr/lib/mono/2.0/Mono.Data.Sqlite.dll
 /usr/lib/mono/2.0/Mono.Data.Tds.dll

I don't know why. Mono from trunk few days old.

-----Original Message-----
From: mono-aspnet-list-bounces at lists.ximian.com
[mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of Robert
Jordan
Sent: Sunday, March 21, 2010 3:49 AM
To: mono-aspnet-list at lists.ximian.com
Subject: Re: [Mono-aspnet-list] Unable to build XSP - cannot find metadata
file `Mono.Data.SqliteClient.dll'

On 21.03.2010 01:29, Alexander M. Batishchev wrote:
> Thanks for tip!
>
> libsqlite is already installed.
>
> $ dpkg -l libsqlite*
> ..
> ii  libsqlite3-0   3.6.22-1       SQLite 3 shared library
> ii  libsqlite3-dev 3.6.22-1       SQLite 3 development files
>
> Maybe I need libsqlite0-dev? Or I need version 2 to be installed?

*-dev is not necessary in this case.

I'm wondering about the error message from your subject:
"cannot find metadata file `Mono.Data.SqliteClient.dll'"

Do you have another parallel mono on this system?
If it's the case, try to re-autogen with

	--with-runtime=/path/to/mono-executable

Otherwise xsp's build might pick up the wrong mono, which
doesn't have Mono.Data.SqliteClient.dll for some reasons,
eg. it was not installed with the packaging system of your
distro.

Robert

_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list