'DinkToPdf on Mac M1

I have a problem implementing dinkToPdf NuGet Package in my .NET 6.0 WebAPI application. I'm using macbook with M1 chip.

I'm getting the following error:

"Unable to load shared library '/Users/vlatkopetrushevski/Desktop/Work/TechUp/Back End/academy-management-api/Skillup.API/wkhtmltox/v0.12.4/64 bit/libwkhtmltox.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(/Users/vlatkopetrushevski/Desktop/Work/TechUp/Back End/academy-management-api/Skillup.API/wkhtmltox/v0.12.4/64 bit/libwkhtmltox.dylib, 0x0001): tried: '/Users/vlatkopetrushevski/Desktop/Work/TechUp/Back End/academy-management-api/Skillup.API/wkhtmltox/v0.12.4/64 bit/libwkhtmltox.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))"

Anyone with the same problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source