When I run Aspose.cells(.NET) v25.1.1 on AlmaLinux (same as Redhat Enterprise 8.10) 8.10 and try to output PDF, I get an error.
System.DLLNotFoundException: Unable to load shared library ‘libSkiaSharp’ or one of its dependencies.
/lib64/libm.so.6: version `GLIBC_2.29’ not found (required by /[APP DIR]/libSkiaSharp.so)
libSkiaSharp.so: cannt open shared object file: No such file or directory
It appears that Redhat 8.x only supports GLIBC up to 2.28 and does not provide it after 2.29.
I would like to get it to work on Redhat 8.x as well as v24.x. Please let me know if there is a workaround.
It seems that you are encountering a System.DLLNotFoundException when trying to use Aspose.Cells (.NET) v25.1.1 on AlmaLinux, which is based on Red Hat Enterprise Linux 8.10. The error indicates that the library libSkiaSharp or one of its dependencies cannot be loaded due to a missing version of the GNU C Library (GLIBC).
The specific issue arises because Red Hat 8.x supports GLIBC only up to version 2.28, while libSkiaSharp requires GLIBC version 2.29 or higher. Unfortunately, this means that you will not be able to run Aspose.Cells v25.1.1 on your current setup without addressing this dependency issue.
Workaround Suggestions:
Upgrade GLIBC: If possible, consider upgrading your GLIBC to a version that meets the requirements of libSkiaSharp. However, this can be complex and may lead to compatibility issues with other applications on your system.
Use an Older Version: If upgrading GLIBC is not feasible, you might want to try using an older version of Aspose.Cells that does not have this dependency on libSkiaSharp or is compatible with GLIBC 2.28.
Containerization: Another approach could be to run your application in a container (like Docker) that uses a base image with the required GLIBC version. This way, you can isolate your application from the host system’s library constraints.
Check for Updates: Keep an eye on updates from Aspose, as they may release a version that resolves this compatibility issue in the future.
If you need further assistance or have specific requirements, feel free to ask!
The referenced SKiaSharp in Aspose.Cells for .NET 25.1.1 is upgraded from version 2.88.6 to 3.116.1 to get better rendering output and better compatibility with .net9.0. SKiaSharp 3.116.1 requires a newer version of GLIBC.
To gather more info about the issue, could you please share the installed dotnet sdk version and the project target framework version(net6.0, net8.0 or net9.0)?
@ymd
To investigate the compatible issue on the System with limited version of GLIBC, we have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSNET-57666
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We have released Aspose.Cells for .NET 25.1.2.
In this version, we revert the referenced SkiaSharp to version 2.88.9 for net6.0 and net8.0. For net9.0, the referenced SkiaSharp remains unchanged at version 3.116.1.
The issues you have found earlier (filed as CELLSNET-57666) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.