DinkToPdf icon indicating copy to clipboard operation
DinkToPdf copied to clipboard

Erro docker linux

Open eliseumade opened this issue 2 years ago • 2 comments

I can generate the pdf in my development environment, but when I run docker (linux) the request returns this error,

{ "Error": "One or more errors occurred. (Unable to load shared library 'libwkhtmltox' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibwkhtmltox: cannot open shared object file: No such file or directory)" }

eliseumade avatar May 24 '23 14:05 eliseumade

You may need to add libwkhtmltox to your dockerfile. It may be helpful to minimally post your docker file's base image used or post your dockerfile.

Otherwise, you can search whether the other similar issues and resolution/discussion here are related: https://github.com/rdvojmoc/DinkToPdf/issues?q=is%3Aissue+libwkhtmltox

Markuzy avatar May 30 '23 09:05 Markuzy

you can try see this solution

https://github.com/rdvojmoc/DinkToPdf/issues/183

yozawiratama avatar Feb 28 '24 04:02 yozawiratama