简体   繁体   中英

wkhtmltopdf - Error 127 - Error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

I am in the process of migrating a site to Amazon Lightsail (Bitnami LAMP) and one of the libraries used is wkhtmltopdf.

After installing wkhtmltopdf on the new server I am running into the following error:

error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

After using the strace tool I saw that the libXrender libraries were missing, so I installed them using following and then run an update:

sudo apt-get install libxrender1

sudo apt-get update

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM