/home/a/github/fsharp_sqlprovider/SQLite/Program.fs(20,5): error FS3033: The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error: 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 [/home/a/github/fsharp_sqlprovider/SQLite/SQLite.fsproj]
/home/a/github/fsharp_sqlprovider/SQLite/Program.fs(20,5): error FS3033: The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error: 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 [/home/a/github/fsharp_sqlprovider/SQLite/SQLite.fsproj]
The build failed. Fix the build errors and run again.
Describe the bug
I can't get most basic example like https://fsprojects.github.io/SQLProvider/core/sqlite.html working.
To Reproduce
Steps to reproduce the behavior:
Create new console application.
dotnet new console -lang F# -o SQLite cd SQLite dotnet add package SQLProvider dotnet add package System.Data.SQLiteBuild sqlite-netFx
Add lib to SQLite.fsproj (in ItemGroup)
Copy
northwindEF.dbfrom SQLProvider toSQLite/dbAdd to Program.fs
Run
System information
Should this work? Is the documentation up to date? Which point am I missing?
Thank you!