System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: b306856e6a0901ddaf7018cb8672194399249d45
Title: contents of sqlite-netFx451-binary-Mono-2013-1.0.101.0.zip do not work in linux
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: Native_Assembly Resolution: Works_As_Designed
Last Modified: 2016-05-04 13:44:24
Version Found In: 2013-1.0.101.0
User Comments:
anonymous added on 2016-04-30 03:54:11:
I've downloaded this package and it fails when running the included test.exe file and running the System.Data.SQLite test the exception is:

System.TypeInitializationException: An exception was thrown by the type initializer for System.Data.SQLite.SQLiteFactory ---> System.DllNotFoundException: SQLite.Interop.dll

system is fedora 23 with mono 4.0.5-3 and sqlite-libs 3.11.0-3 both x86_64 and i686

mistachkin added on 2016-05-01 20:58:43:

The native libraries are not included because they must be built for the specific operating system in use. They can be built using the build scripts for POSIX, seen here:

compile-interop-assembly-debug.sh

compile-interop-assembly-release.sh


mistachkin added on 2016-05-01 21:00:44:
Also, the managed binaries included in the Mono download are purposely designed
NOT to work with any pre-existing sqlite3 libraries that may be present in "/lib"
or "/usr/lib" directories.  The interop assembly includes extra support code that
is needed by the supplied managed binaries.

anonymous added on 2016-05-04 03:07:47:
Its working know
Thanks!!