Skip to content

Error while using MIP on Ubuntu #8

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

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions