Closed mojidabckuu closed 4 years ago
Use apt-get install -f
to install the required dependencies.
I tried this magic command and it doesn’t work. Inside docker the problem is about to find the repo with missing does. Even if I manually added to source.list Ubuntu repos then it returns an error regarding another missing library. Seems it has that many deps on shared preinstalled libs that I wouldn’t able to manage it myself. I finished with 12.4 version and a symbolic link to the binary inside unzipped directory with lib folder and others alongside. Installation through -f works only on original VPS.
Opened this issue due to missing troubleshooting guide. Got Ubuntu bionic instance in DO. Inside a docker container tried to install it using
apt-get install
and when I run gotTried to build a binary myself using the installation guide and performed next commands on machine with client ubuntu version
It take some time and at the end I found targets folder with some result. Tried again to convert a file from html to pdf and got the same error output. But on the client ubuntu version it works fine. What I am doing wrong?
UPDATE: If I download tar from https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz and unpack then everything works fine
UPDATE 2: Downloaded generic-amd64 truncates html and renders with errors. Splits into 2 pages and right side is truncated
UPDATE 3 If I try to download from here https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-dev-20200127/wkhtmltox_0.12.6-0.20200125.25.dev.ba575ea.bionic_amd64.deb and install using
dpkg -I ..
then I getUPDATE 4 Tried deb from the latest dev release on exiting 14.04 Ubuntu instance and works fine