sqlite error with linux-arm
See original GitHub issuewhen running on a raspberry pi it returns the error:
Unhandled exception. 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_config_none(SQLiteConfigOpsEnum op)
at System.Data.SQLite.SQLite3.StaticIsInitialized()
at System.Data.SQLite.SQLiteLog.Initialize(String className)
at System.Data.SQLite.SQLiteConnection…ctor(String connectionString, Boolean parseViaFramework)
at System.Data.SQLite.SQLiteConnection…ctor(String connectionString)
at Serilog.Sinks.SQLite.SQLiteSink.GetSqLiteConnection()
at Serilog.Sinks.SQLite.SQLiteSink.InitializeDatabase()
at Serilog.Sinks.SQLite.SQLiteSink…ctor(String sqlLiteDbPath, String tableName, IFormatProvider formatProvider, Boolean storeTimestampInUtc, Nullable1 retentionPeriod, Nullable
1 retentionCheckInterval, UInt32 batchSize, UInt32 maxDatabaseSize, Boolean rollOver)
at Serilog.LoggerConfigurationSQLiteExtensions.SQLite(LoggerSinkConfiguration loggerConfiguration, String sqliteDbPath, String tableName, LogEventLevel restrictedToMinimumLevel, IFormatProvider formatProvider, Boolean storeTimestampInUtc, Nullable1 retentionPeriod, Nullable
1 retentionCheckInterval, LoggingLevelSwitch levelSwitch, UInt32 batchSize, UInt32 maxDatabaseSize, Boolean rollOver)
at ErsatzTV.Program.Main(String[] args) in /home/runner/work/ErsatzTV/ErsatzTV/ErsatzTV/Program.cs:line 25
at ErsatzTV.Program.<Main>(String[] args)
Aborted
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top GitHub Comments
Not the OP, but I came here with the same error he posted and copying those 2 files lets the server start up! so thank you for the quick fix!
Release v0.0.51-alpha contains the appropriate interop files in the
linux-arm
archive.