SQLitePCL.raw: Linux binaries in 2.0.5 release are incompatible with ubuntu 18.04

Hi, I’m not sure if it’s cconnected with this task https://github.com/ericsink/SQLitePCL.raw/issues/444. So, I create new one. The latest version is working fine locally but during executing unit tests on jenkins, it throws exception below:

System.TypeInitializationException : The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.
14:28:36  ---- System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
14:28:36  -------- System.DllNotFoundException : Unable to load shared library 'e_sqlcipher' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libe_sqlcipher: cannot open shared object file: No such file or directory

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (13 by maintainers)

Most upvoted comments

Fixed in 2.0.6

OK, I think I’ve confirmed the problem. I changed the script over in the cb repo to build the binaries on ubuntu-18.04 instead of ubuntu-latest. Unsurprisingly, the resulting libe_sqlite3.so works fine on ubuntu-18.04 (since that’s where it was built).

@bricelam I suspect this issue is relevant to your release cycle, as you probably don’t want e_sqlite3 binaries that only work on ubuntu-20.04. How far back in ubuntu releases do you need to support?