We’re currently integrating Aspose.Slides for .NET6 CrossPlatform into a document conversion service running under .NET 8 on Linux (Ubuntu 22.04).
The library loads successfully, but the process terminates immediately with a core dump when trying to instantiate new Presentation() or when calling Save() to export a PPTX to PDF.
Exception observed:
calling init: /opt/pdfconvertme-devel/libaspose.slides.drawing.capi_x86_64_libstdcpp_libc2.23.so
Aborted (core dumped)
InnerException (when caught before crash):
System.DllNotFoundException: Unable to load shared library
‘libaspose.slides.drawing.capi_x86_64_libstdcpp_libc2.23’ or one of its dependencies
After copying the .so file next to the executable, the shared library loads,
but the process still aborts (core dumped) before reaching managed code.
Environment details:
- Product: Aspose.Slides for .NET6 CrossPlatform
- Version: 25.10.0 (latest as of October 2025)
- Target framework: .NET 8.0 (self-contained, linux-x64)
- OS: Ubuntu 22.04.5 LTS (glibc 2.35) and Ubuntu 24.04 (glibc 2.39)
- Architecture: x86_64
- Dependencies present:
libaspose.slides.drawing.capi_x86_64_libstdcpp_libc2.23.so, Aspose.Slides.dll, Aspose.Slides.SkiaSharpHelper.dll, SkiaSharp.dll, HarfBuzzSharp.dll.
Notes:
- The same code runs correctly on Windows with the same DLLs.
- According to the README, this build “requires GLIBC 2.23 and higher,”
but it appears to crash on systems with glibc ≥ 2.31.
- This environment also loads other Aspose libraries (Words, Cells, etc.) without any issue.
Request:
Could you confirm whether there is an updated Aspose.Slides CrossPlatform (Skia-based) build compiled against a newer glibc toolchain (≥ 2.31) or fully managed (no capi backend)?
If not, please provide guidance or a supported workaround for modern Linux distributions (Ubuntu 22+).
@aqueralt
It appears you are encountering a crash while using Aspose.Slides for .NET6 on Linux, specifically due to a shared library issue. The error message indicates that the library libaspose.slides.drawing.capi_x86_64_libstdcpp_libc2.23.so is failing to load, which may result in a core dump.
Currently, there is no fully managed version of Aspose.Slides compiled against a newer glibc toolchain. Here are some steps you can take to troubleshoot and potentially resolve the issue:
-
Check Dependencies: Verify that all required dependencies for Aspose.Slides are installed correctly. While you mentioned that other Aspose libraries are functioning, it is essential to ensure that the specific dependencies for Aspose.Slides are also met.
-
Use a Compatible Version: If possible, consider using an earlier version of Aspose.Slides that is known to be compatible with your current glibc version. Certain versions may have compatibility issues with specific system libraries.
-
Test in a Different Environment: If feasible, run your application in a different Linux environment or container that utilizes a different version of glibc to determine if the issue persists.
-
Contact Support: Given that this appears to be a specific issue with the library on Linux, reaching out to Aspose support may provide you with more tailored assistance. They may have insights or updates regarding compatibility with newer glibc versions.
-
Debugging: If you have access to debugging tools, consider running your application under a debugger to obtain more detailed information about the cause of the crash.
If the problem continues, providing detailed logs and the exact steps to reproduce the issue when contacting support can be very beneficial.
For further assistance, please refer to the official Aspose documentation and community forums for any updates or similar issues reported by other users.
We have tested both the Aspose.Slides for .NET 25.10.0 CrossPlatform and the regular Aspose.Slides for .NET 25.10.0 (non-CrossPlatform) builds under .NET 8.0 on Ubuntu 22.04 and 24.04 (glibc 2.35–2.39).
Findings:
-
CrossPlatform build
The shared library libaspose.slides.drawing.capi_x86_64_libstdcpp_libc2.23.so loads successfully but causes an immediate core dump during initialization.
This behavior is reproducible across multiple Linux systems and appears to be caused by a binary-level incompatibility between the libc2.23 toolchain used to compile the CAPI backend and newer glibc versions (≥ 2.31).
-
Regular .NET build (non-CrossPlatform)
This version fails to run at all on Linux due to its dependency on System.Drawing.Common, which is no longer supported on non-Windows platforms since .NET 6.
Exception trace:
System.TypeInitializationException: The type initializer for 'Gdip' threw an exception.
---> System.PlatformNotSupportedException: System.Drawing.Common is not supported on non-Windows platforms.
at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(...)
at System.Drawing.SafeNativeMethods.Gdip..cctor()
Conclusion:
Neither the CrossPlatform (CAPI) nor the regular .NET build can currently be used reliably in modern Linux environments (.NET 8 + glibc ≥ 2.31).
We therefore request that the product team provide either:
- fully managed Skia-based CrossPlatform build, or
- recompiled CAPI backend built with a newer glibc toolchain compatible with current Linux distributions.
This issue prevents the integration of Aspose.Slides 25.10.0 into production .NET 8 Linux services.
@aqueralt,
Thank you for contacting free support. I have reviewed your first post carefully. This error can occur if fontconfig is missing on the operating system where Aspose.Slides.NET6.CrossPlatform is used.
More information:
System Requirements|Aspose.Slides Documentation