DotNet application for linux using ManagedESENT
Hi
I'm trying to develop a dotnet console application using ManagedEsent for linux platform .. When i try to run it in linux, it fails like below. Any help would be appreciated.
Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.Isam.Esent.Interop.Api' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'esent.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libesent.dll: cannot open shared object file: No such file or directory
at Microsoft.Isam.Esent.Interop.Implementation.NativeMethods.JetCreateInstance(IntPtr& instance, String szInstanceName)
at Microsoft.Isam.Esent.Interop.Implementation.JetApi.JetCreateInstance(JET_INSTANCE& instance, String name)
at Microsoft.Isam.Esent.Interop.Implementation.JetApi.GetVersionFromEsent()
at Microsoft.Isam.Esent.Interop.Implementation.JetApi.DetermineCapabilities()
at Microsoft.Isam.Esent.Interop.Implementation.JetApi..ctor()
at Microsoft.Isam.Esent.Interop.Api..cctor()
--- End of inner exception stack trace ---
at Microsoft.Isam.Esent.Interop.Api.JetGetDatabaseFileInfo(String databaseName, Int32& value, JET_DbInfo infoLevel)
at HelloWorld.JetDb..ctor(String dbPath)
at HelloWorld.Program.processDatabase(String filename)
at HelloWorld.AppEntry.Main(String[] args)
Aborted (core dumped)