Lambda function to convert HTML to PDF using wkhtmltopdf failed after upgrading the runtime from Node.js 18 to 20 deployed on AWS

13 views
Skip to first unread message

gauri deshmukh

unread,
Sep 11, 2024, 5:26:04 AMSep 11
to wkhtmltopdf General
Hi,

Lambda function to convert HTML to PDF using wkhtmltopdf failed after upgrading the runtime from Node.js 18 to 20 deployed on AWS

Error::

/tmp/wkhtmltopdf error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

When added the library libssl.so.10 , downloaded libopenssl10-1.0.2p-3.80.1.armv7hl.rpm from https://rpmfind.net/linux/rpm2html/search.php?query=libssl.so.10

Error received is a s following

 /tmp/wkhtmltopdf error while loading shared libraries: libssl.so.10: cannot open shared object file: wrong ELF class: ELFCLASS32

Please assist on how to fix the problem.

Regards,
Gauri


Reply all
Reply to author
Forward
0 new messages