Open lgiuliani80 opened 2 years ago
I'm running into the very same problem on Ubuntu 20.04, @lgiuliani80 have you found any solution yet?
I also tried on Ubuntu 18.04 (with package Microsoft.InformationProtection.File.Ubuntu1804
), but still had the same issue.
I can confirm that all the MIP SDK dependencies stated in the README.md
have been installed.
@tommoser since you are the author of this code sample, would you mind taking a look? Thanks!
I'm running into the very same problem on Ubuntu 20.04, @lgiuliani80 have you found any solution yet?
I also tried on Ubuntu 18.04 (with package
Microsoft.InformationProtection.File.Ubuntu1804
), but still had the same issue.I can confirm that all the MIP SDK dependencies stated in the
README.md
have been installed.@tommoser since you are the author of this code sample, would you mind taking a look? Thanks!
Unfortunately not. At the moment I solved switching to Java. The Java wrapper for MIP SDK does work on Linux Ubuntu 20.04.
I can add that I investigated the issue and found out that the root cause is libmip_dotnet.so referencing unexisting symbols which are supposed to be, presumably, in libmip_file_sdk.so . You can test yourself with this small C snippet:
#include <unistd.h>
#include <dlfcn.h>
#include <stdio.h>
int main() {
int h = dlopen("./libmip_dotnet.so", RTLD_NOW);
printf("h = %d, err = %s\n", h, dlerror());
return 0;
}
The result of the execution is:
h = 0, err = ./libmip_dotnet.so: undefined symbol: _ZN5mipns13FileLabelInfo13GetPropertiesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_10MipContextEERKS9_IvE
We have the some exact issue, please can you help us?
@afhacker 1.11.64
and older version of the Microsoft.InformationProtection.File.Ubuntu2004
package works, can be used as a workaround for now.
@afhacker
1.11.64
and older version of theMicrosoft.InformationProtection.File.Ubuntu2004
package works, can be used as a workaround for now.
Yeah, we were able to make it work with version 1.11.64.
Hopefully they release a new version of SDK for .NET which is not a wrapper over C++ SDK and doesn't require separate packages for Linux and Windows and extra packages installation on Linux.
I always get this error when trying to run ./mipsdk under Ubuntu 20.04.
The error persists if migrating to .NET 6 and happens in general with every .NET application trying to use Microsoft.InformationProtection.File under Ubuntu 20.04.
Minimal steps to reproduce