question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sqlite error with linux-arm

See original GitHub issue

when 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, Nullable1 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, Nullable1 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:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
thorsforgecommented, Jul 17, 2021

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!

0reactions
jasongdovecommented, Jul 18, 2021

Release v0.0.51-alpha contains the appropriate interop files in the linux-arm archive.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sqlite error with linux-arm · Issue #311 · jasongdove/ErsatzTV
when running on a raspberry pi it returns the error: Unhandled exception. System.DllNotFoundException: Unable to load shared library 'SQLite ...
Read more >
Asp.Net Core 2.0 Linux Arm - SQLIte issue
we are currently trying to run asp.net core 2.0 (latest preview) on Linux arm (Raspberry Pi - Ubuntu Mate) and we were able...
Read more >
[MyMusic82.db] SQLite error SQLITE_ERROR (a JOIN ...
I am using a Raspberry Pi 3 ( I think it's a 3B+) with LibreELEC. I recently performed a fresh install - I...
Read more >
SQLite 3.34 binary not working on Ubuntu 20.04 (not found)
On my very recent version of Ubuntu 20, attempting to execute that 32-bit image from bash produces: cannot execute binary file: Exec format ......
Read more >
[solved] disk I/O error on F2FS
Hi, I'm looking for help with a problem (obviously). sqlite Databases on my /home are basically unusable because they always fail with I/O ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found