There is a console application on C #, on Windows everything is working fine, but there is a need to put this application on a server running Ubuntu Server 18.04 x86_64. After running the mono RHBot.exe following error is displayed:
Unhandled Exception: System.DllNotFoundException: SQLite.Interop.dll at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_config_none (System.Data.SQLite.SQLiteConfigOpsEnum) at System.Data.SQLite.SQLite3.StaticIsInitialized () [0x0001c] in <226287aa71b9481b9dd405c36cfaba76>:0 at System.Data.SQLite.SQLiteLog.Initialize (System.String className) [0x00026] in <226287aa71b9481b9dd405c36cfaba76>:0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString, System.Boolean parseViaFramework) [0x00046] in <226287aa71b9481b9dd405c36cfaba76>:0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString) [0x00000] in <226287aa71b9481b9dd405c36cfaba76>:0 at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteConnection:.ctor (string) at VKBot.Program.Main (System.String[] args) [0x0006e] in <69f24e52cda4494abdf8dac4c5408e44>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: SQLite.Interop.dll at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_config_none (System.Data.SQLite.SQLiteConfigOpsEnum) at System.Data.SQLite.SQLite3.StaticIsInitialized () [0x0001c] in <226287aa71b9481b9dd405c36cfaba76>:0 at System.Data.SQLite.SQLiteLog.Initialize (System.String className) [0x00026] in <226287aa71b9481b9dd405c36cfaba76>:0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString, System.Boolean parseViaFramework) [0x00046] in <226287aa71b9481b9dd405c36cfaba76>:0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString) [0x00000] in <226287aa71b9481b9dd405c36cfaba76>:0 at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteConnection:.ctor (string) at VKBot.Program.Main (System.String[] args) [0x0006e] in <69f24e52cda4494abdf8dac4c5408e44>:0 Although SQLite.Interop.dll lies in the x86 and x64 folders. What to do?