wkhtmltoimage-binary icon indicating copy to clipboard operation
wkhtmltoimage-binary copied to clipboard

Centos 6.7 (6.6) binary

Open structuralartistry opened this issue 9 years ago • 0 comments

Hi, this may or may not be useful. I was having trouble with your existing binaries amd64 with CentOS 6.7. I was getting the following error:

libjpeg.so.8: cannot open shared object file

I finally just pulled the rpm package from http://wkhtmltopdf.org/downloads.html for CentOS 6.6, pulled it apart and substituted the binary and found it working.

So in my changes here I check for Centos 6.7 (I realize this could be perhaps applied to any Centos 6.*), and use the alternative binary if thats the case.

Also was hitting error with the lsb_version check so added a thrown error if that command fails so at least it would be easier for someone to fix the issue (ie adding the package containing that command).

As before, not sure if this helps at all but thought I would send it to you :)

structuralartistry avatar Dec 03 '15 18:12 structuralartistry