System.Data.SQLite

View Ticket
Login
Ticket Hash: be4daf18b79ab86e177bbee9971d95c8bfdc2b7d
Title: Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies. ... No such file or directory
Status: Closed Type: Packaging
Severity: Severe Priority: Medium
Subsystem: Native_Assembly Resolution: Fixed
Last Modified: 2021-05-30 18:25:47
4.00 years ago
Created: 2021-05-29 04:33:30
4.01 years ago
Version Found In: 1.0.114
User Comments:
anonymous added on 2021-05-29 04:33:30:

After upgrading from from 1.0.113.7 to 1.0.114 I'm getting following error on Linux:

System.DllNotFoundException : Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSQLite.Interop.dll: cannot open shared object file: No such file or directory

at System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_interop(Byte[] utf8Filename, Byte[] vfsName, SQLiteOpenFlagsEnum flags, Int32 extFuncs, IntPtr& db) at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool) at System.Data.SQLite.SQLiteConnection.Open()

Nothing else has changed.


anonymous added on 2021-05-29 10:26:59:

It also happens for older versions (1.0.113.7) when transitive dependency resolved to 1.0.114. BTW, we have this issue in NETFX project (there is no runtimes after build in bin folder)


anonymous added on 2021-05-29 10:37:10:

As there is no vital changes in stub.system.data.sqlite.core.netframework exept new binaries, I suspect that Stub.System.Data.SQLite.Core.NetFramework.targets doesn't work with recent release of VS2019 (v16.10)


anonymous added on 2021-05-29 12:05:29:

Reason for linux failure: in stub.system.data.sqlite.core.netstandard.1.0.114.nupkg SQLite.Interop.dll for linux and osx runtime is html file actually


mistachkin added on 2021-05-29 19:26:28:

Confirmed. This was a NuGet package build issue. Working on fix now.


mistachkin added on 2021-05-29 19:54:18:

The fixed version of the NuGet packages (1.0.114.1) should fix this issue.


mistachkin added on 2021-05-29 20:05:44:
Minor correction, the new "System.Data.SQLite" NuGet package version is now
1.0.114.2.