Skip to content

sqlite-net ARM processor #578

@beerygaz

Description

@beerygaz

I'm an inexperienced hobby programmer, so forgive my ignorance.

I'm writing a .net application that needs to run on Windows and Linux Mono (bot i386 and ARM processors). I started using Syste.Data.SQLite and EF6 but that failed me on Mono, especially on the ARM platform.

Research suggested I use sqlite-net, and I love the simplicity and ease of use, but I still can't get it to work on the ARM Mono platform.

Besides sqlit-net, I'm not sure which other Nuget packages are necessary for this multi-platform (single executable) deployment.

The error I'm experiencing on the ARM Mono version is:
System.TypeInitializationException: An exception was thrown by the type initializer for SQLite.SQLiteConnection ---> System.DllNotFoundException: e_sqlite3
at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3/NativeMethods:sqlite3_libversion_number ()
at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in :0
at SQLitePCL.raw.SetProvider (ISQLite3Provider imp) [0x00000] in :0
at SQLitePCL.Batteries_V2.Init () [0x00000] in :0
at SQLite.SQLiteConnection..cctor () [0x00000] in :0
--- End of inner exception stack trace ---

It seems to be looking for "libe_sqlite3.so"

I'd welcome some advice please?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions