Posted 15 April, 2016
I’m playing (trying to) with wkhtmltopdf I’m running in some errors though … here are the packages that seem to fix it :
wkhtmltopdf: error while loading shared libraries: libXrender.so.1
yum install libXrender
./wkhtmltopdf: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
fontconfig and urw-fonts
yum install fontconfig urw-fonts
error while loading shared libraries: libXext.so.6:
yum install libXext
And finally :
./wkhtmltopdf http://google.com test.pdf Loading pages (1/6) Counting pages (2/6) Resolving links (4/6) Loading headers and footers (5/6) Printing pages (6/6) Done
Itttt isssssa working !
If you enjoyed this article, please consider buying me a Dr Pepper.
Fuel the beast!
Buy me a Dr Pepper