SvennD
April 15, 2016

wkhtmltopdf: error while loading shared libraries: libXrender.so.1

Posted on April 15, 2016  •  1 minutes  • 100 words  •  Suggest Changes

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

libXrender

yum install libXrender

next :

./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

next ;

error while loading shared libraries: libXext.so.6:

libXext

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 !

Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper