Closed
Description
I've been trying the past few days to use MuPDF.NET in a dockerized Linux environment without luck.
same story on WSL2 or an arm-based MAC
I learned the hard way that despite the base C MuPDF being fully capable of running on Linux (even ARM based), MuPDF.NET doesn't support it officially out of the box. There isn't any official information about it either.
Please add it, test it, make it officially support Linux.
This is a huge downside, a deal braker, of this library in a world where everybody on the cloud is shifting fully to Linux or requires the multi-platform nature .NET.
Exception for background:
System.TypeInitializationException: The type initializer for 'mupdf.mupdfPINVOKE' threw an exception.
---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'mupdfcsharp.dll' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/app/runtimes/linux-x64/native/mupdfcsharp.dll.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.11/mupdfcsharp.dll.so: cannot open shared object file: No such file or directory
/app/mupdfcsharp.dll.so: cannot open shared object file: No such file or directory
/app/runtimes/linux-x64/native/libmupdfcsharp.dll.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.11/libmupdfcsharp.dll.so: cannot open shared object file: No such file or directory
/app/libmupdfcsharp.dll.so: cannot open shared object file: No such file or directory
/app/runtimes/linux-x64/native/mupdfcsharp.dll: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.11/mupdfcsharp.dll: cannot open shared object file: No such file or directory
/app/mupdfcsharp.dll: cannot open shared object file: No such file or directory
/app/runtimes/linux-x64/native/libmupdfcsharp.dll: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.11/libmupdfcsharp.dll: cannot open shared object file: No such file or directory
/app/libmupdfcsharp.dll: cannot open shared object file: No such file or directory
Metadata
Metadata
Assignees
Labels
No labels