Wkhtmltopdf on Alpine Linux, Segmentation Fault (Core Dumped) Error When Converting Html to Pdf

I'm using Alpine linux version 3.14 and installed the package for wkhtmltopdf here:

Package installs correctly and wkhtmltopdf --version responds me correctly.

The problem is that when trying to launch the command to convert any simple html file I get the error: "Segmentation fault (core dumped)".

This happen with any html, also the simplest without fonts or other complex stuff.

Could anyone explain me istructions to compile correctly wkhtmltopdf from source on Alpine 3.14?

2
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article