Posting this here in case it helps someone else.
We use GemBox to build Excel reports and PDF's and we run our code on Linux.
We've been upgrading our projects to .NET 6 and have just run into this error.
Unable to load shared library 'libHarfBuzzSharp' or one of its dependencies...
I looked into GemBox's release notes and found they have made steps to move away from System.Drawing as Microsoft has dropped Linux support for this.
HarfBuzzSharp.NativeAssets.Linux
andSkiaSharp.NativeAssets.Linux
are required on Linux. Please check the Linux / macOS and Docker examples. – Fogdog