Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl.so: cannot open shared object file: No such file or directory
at Microsoft.InformationProtection.Utils.UnsafeNativeMethods.dlopen(String dllToLoad, Int32 flag)
at Microsoft.InformationProtection.Utils.UnsafeNativeMethods.LoadLibraryLinux(String dllToLoad)
at Microsoft.InformationProtection.Utils.UnsafeNativeMethods.LoadLibrary(String dllToLoad)
at Microsoft.InformationProtection.Utils.Loader.LoadDlls(String dllFolder, String dllName, String[] dllDependencies)
at Microsoft.InformationProtection.MIP.Initialize(MipComponent mipComponent, String path)
at Microsoft.InformationProtection.MIP.CreateMipContext(MipConfiguration mipConfiguration)
at mipsdk.Action..ctor(ApplicationInfo appInfo) in /home/mip/src/Action.cs:line 86
at mipsdk.Program.Main(String[] args) in /home/mip/src/Program.cs:line 35
Aborted (core dumped)
Getting the below error when trying to run ./mipsdk under Ubuntu 22.04.
Code Sample link:
MipSDK-File-Dotnet/src at main · Azure-Samples/MipSDK-File-Dotnet · GitHub
Platform:
Ubuntu 22.04
Error:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl.so: cannot open shared object file: No such file or directory at Microsoft.InformationProtection.Utils.UnsafeNativeMethods.dlopen(String dllToLoad, Int32 flag) at Microsoft.InformationProtection.Utils.UnsafeNativeMethods.LoadLibraryLinux(String dllToLoad) at Microsoft.InformationProtection.Utils.UnsafeNativeMethods.LoadLibrary(String dllToLoad) at Microsoft.InformationProtection.Utils.Loader.LoadDlls(String dllFolder, String dllName, String[] dllDependencies) at Microsoft.InformationProtection.MIP.Initialize(MipComponent mipComponent, String path) at Microsoft.InformationProtection.MIP.CreateMipContext(MipConfiguration mipConfiguration) at mipsdk.Action..ctor(ApplicationInfo appInfo) in /home/mip/src/Action.cs:line 86 at mipsdk.Program.Main(String[] args) in /home/mip/src/Program.cs:line 35 Aborted (core dumped)