logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
someuser  
#1 Posted : Thursday, April 2, 2026 9:16:17 AM(UTC)
someuser

Rank: Newbie

Groups: Registered
Joined: 4/2/2026(UTC)
Posts: 1
United States

Given that this library has support for .net8 and it now works in Linux. How come this library does not provide a proper libpdfium.so like it does for mac and windows?

So far it appears that the library tries to load it at startup:

Quote:

message = Unable to load shared library 'pdfium' 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/pdfium.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.25/pdfium.so: cannot open shared object file: No such file or directory /app/pdfium.so: cannot open shared object file: No such file or directory /app/runtimes/linux-x64/native/libpdfium.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.25/libpdfium.so: cannot open shared object file: No such file or directory /app/libpdfium.so: cannot open shared object file: No such file or directory /app/runtimes/linux-x64/native/pdfium: cannot open shared object file: No such file or directory


And if we provide it with some pre-compiled libpdfium.so it actually moves forward a bit more, until it hits another issue:


Quote:

Unable to find an entry point named 'FPDF_InitEx' in shared library 'pdfium'., code = -2146233053, type = EntryPointNotFoundException }

stacktrace:
at Patagames.Pdf.Pdfium.FPDF_InitLibraryEx_native(String licenseKey, String version) at Patagames.Pdf.Pdfium.FPDF_InitLibrary(String licenseKey, String specificPath, Int32 syncMode) at Patagames.Pdf.Pdfium.CheckForInit() at Patagames.Pdf.Pdfium.FPDF_LoadCustomDocument(FPDF_FILEACCESS pFileAccess, String password) at Patagames.Pdf.Net.PdfCustomLoader.Load() at Patagames.Pdf.Net.PdfDocument.Load(PdfCustomLoader loader) at Patagames.Pdf.Net.PdfDocument.Load(Stream stream, PdfForms forms, String password, Boolean leaveOpen) at Patagames.Pdf.Net.PdfDocument.Load(Byte[] content, PdfForms forms, String password)



Is there anything that we can do to support this workflow? Deploying .net core apps into Kubernetes is here to stay and this library seems like it's almost ready for it.

Do we require a special build of this library compatible with the current Patagames SDK?

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.