Asp.Net Core 2.0 Linux Arm - SQLIte issue

We are currently trying to run asp.net core 2.0 (latest preview) on a Linux arm (Raspberry Pi - Ubuntu Mate) and we were able to solve almost every problem, so the app works very well.

Not we are trying to run it using SQL Db (Sqlite) and Windows, everything works fine, we can connect and read the DB, but on Linux we get the following error: System.DllNotfoundException: Unable to load DLL 'e_sqlite3': the specified module or one of its dependencies were not found. (Exception from HRESULT: 0x8007007E).

I think I've tried everything already, installed sqlite on linux but nothing helped.

Any idea what could be wrong?

Thanks a lot Rado

+3


source to share


3 answers


i changed the library i used to connect to sqlite to this https://www.nuget.org/packages/sqlite-net-pcl/

and then (and not sure why), on linux, I had to execute their SQLite.cs implementation and manually add it to the project. So for Linux I had to enable this CS and for Windows, I just excluded it so that the one that was part of the DLL works. No more investigation, but it works on both Windows and Linux. If you need more help just let me know.

https://github.com/oysteinkrog/SQLite.Net-PCL



This file: https://github.com/praeclarum/sqlite-net/blob/master/src/SQLite.cs

Thanks Rado

+1


source


I guess we'll have to wait, the issue is not closed.

UPDATE:



this issue is closed and a new version is running. You only need to install the latest 1.1.8 package SQLitePCLRaw.bundle_green and SQLite on ARM works great.

+1


source


I have the same problem and after some investigation I believe this is happening because e_sqlite3.dll for ARM has not included the package yet SQLitePCLRaw.bundle_green

.

This package contains dlls for different architectures but linux-arm

is not mentioned in dependencies ( linux, osx and v110xp (win7)

are) yet .

We'll probably have to wait for the .NET Core ARM team to add it correctly ...

0


source







All Articles