profile
viewpoint

Ask questionsIssue in aws linux servers

I'm using wkhtmaltopdf to generate pdf. That's working fine on mylaptop but it not working on my aws instance. Getting following error message.

/usr/local/bin/wkhtmltopdf: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

Running OS: Linux 3.14.26-24.46.amzn1.x86_64 #1 SMP Wed Dec 10 10:02:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

wkhtmltopdf/wkhtmltopdf

Answer questions gigawatts

This issue exists with Fedora (I'm running 29) as well, when installing "wkhtmltox-0.12.5-1.centos7.x86_64.rpm" from https://wkhtmltopdf.org/downloads.html

A prereq of libpng15 is required (the latest libpng does not work). Simply run: dnf install libpng15

Please add this to the dependencies list of this RPM.

useful!
source:https://uonfu.com/
Github User Rank List