Skip to content

Conversation

structuralartistry
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant