Azure-Samples / Azure-Samples/MipSDK-File-Dotnet

Error while using MIP on Ubuntu

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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](https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2FMipSDK-File-Dotnet&data=05%7C02%7CVimal.Amaldas%40bp.com%7Cf6ac43f812f44f5b11a908dc91dcdb89%7Cea80952ea47642d4aaf45457852b0f7e%7C0%7C0%7C638545625024433586%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=RuM9QRJJbm2ZTIZe2%2BXNDhzGY8eaj%2FyaYv5dpVSDgv4%3D&reserved=0)

**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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.