I'm having trouble getting WkHtmlToPDF working on a Elastic Beanstalk instance for PHP.
When I try and create a PDF file I hit the following error:
Severity: error --> Exception: The exit status code '127' says something went wrong: stderr: "/var/app/current/application/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
If I try and yum install libjpeg on the server it's already installed. From what I can tell this may be related to the following issue: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1822 ?
For reference, I am using https://packagist.org/packages/h4cc/wkhtmltopdf-amd64 in composer.
Anyone got any idea?