OrmLite with in-memory Sqlite on AWS Linux machine #46
Replies: 1 comment 2 replies
-
You have 2 OrmLite Sqlite packages referenced, you should only be referencing the one implementation you're using. If this is for ARM server you'll have the best chance with Microsoft.Data.Sqlite provider, i.e: <PackageReference Include="ServiceStack.OrmLite.Sqlite.Data" Version="6.*" /> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I am using OrmLite to run some tests using Sqlite in-memory option. All is good, when running locally on my windows machine. But the tests fail on AWS Linux machine(using amazonlinux2-aarch64-standard:2.0 image)
This is how I create connection
dbFactory = new OrmLiteConnectionFactory(":memory:", new SqliteOrmLiteDialectProvider());
...
dbFactory .OpenDbConnection()
On my AWS Linux machine I get this error:
System.DllNotFoundException : Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies.
I have tried it also on Ubunut VM, there is works, just like on my local windows machine. Anyone has issues running on this particular AWS image?
These are the OrmLite libraries I have
Following other suggestion I have installed bunch of sqlite libraries
None of those helped
Beta Was this translation helpful? Give feedback.
All reactions