Wkhtmltopdf and wkhtmltoimage missing binary



Running bulds on the 12.04 (Precise) image may give an error relating to ‘missing binary’ or run failures for either wkhtmltopdf or wkhtmltoimage . The version of wkhtmltopdf that is preinstalled is 0.9.9 and is EOL.

A workaround is to add the following to circle.yml:

    - sudo add-apt-repository ppa:pov/wkhtmltopdf -y; sudo apt-get update; sudo apt-get install wkhtmltopdf 

This will install version 0.12.1 and wkhtmltoimage will then be available in addition to wkhtmltopdf.


I would like to add that this would also be a great time to get your build running on Ubuntu 14.04 Trusty.

As 12.04 approaches it EOL date (March 2017) we are going to keep seeing these types of issues.