unable to install wkhtmltopdf (QT patched) on Ubuntu 16.04

241 views
Skip to first unread message

Juan Lopez

unread,
Feb 5, 2018, 12:30:39 PM2/5/18
to wkhtmltopdf General
Hello,

I am trying to install wkhtmltopdf (QT patched) but i am having issues.
First I used apt-get but the installed version, which works, is not the QT one.
Then I uninstalled it and I downloaded  the file named 'wkhtmltox-0.12.4_linux-generic-i386.tar.xz' from the official site. I used tar for getting the folder structure.
When i launched the program i get a link error: 'error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory'
I installed required packages, in particular, 'libxrender'. But the issue is still there.
I checked for 'libXrender.so.1' and i found it in a folder '/usr/lib/x86_64-linux-gnu/libXrender.so.1'.

When I launch ldd wkhtmltopdf, i get what follows:

linux-gate.so.1 =>  (0xf7ed8000)
libXrender.so.1 => not found
libfontconfig.so.1 => not found
libfreetype.so.6 => not found
libXext.so.6 => not found
libX11.so.6 => not found
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7e9f000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7e9a000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7e91000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7e74000)
libstdc++.so.6 => not found
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7e1e000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7e01000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7c4b000)
/lib/ld-linux.so.2 (0xf7eda000)

Can you help me to understand what the issue is?

Than you

Imran Saeed

unread,
Feb 7, 2018, 5:08:47 AM2/7/18
to wkhtmltopdf General
Hi Juan

did you manage to solve the issue ? Please post your update as I am facing the same issue as well.

Regards.

Imran Saeed

unread,
Feb 7, 2018, 9:06:20 PM2/7/18
to wkhtmltopdf General
Hi Juan

I solved the problem by downloading the wkhtmltox-0.12.1.2_linux-jessie-amd64.deb 

and installed it using sudo apt install wkhtmltox-0.12.1.2_linux-jessie-amd64.deb
Reply all
Reply to author
Forward
0 new messages