Trouble installing wkhtmltopdf: missing "libQt5WebKit"

[sudo] password for root: 
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: nothing provides 'libQt5WebKit.so.5()(64bit)' needed by the to be installed libwkhtmltox0-0.12.6-13.11.x86_64
 Solution 1: do not install wkhtmltopdf-0.12.6-13.11.x86_64
 Solution 2: break libwkhtmltox0-0.12.6-13.11.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
txtechnician@tx-susetw-asus:~> 

libQt5WebKit doesn’t appear in the software repo. What is my best course of action to get wkhtmltopdf installed on this machine?

It’s broken:

I’m on Leap, so I don’t know what result you will get on Tumbleweed:

ox@orca$ sudo zypper search -s --provides libQt5WebKit.so.5
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...

S | Name          | Type    | Version                | Arch   | Repository
--+---------------+---------+------------------------+--------+----------------
  | libQt5WebKit5 | package | 5.212~alpha4-bp156.5.8 | x86_64 | repo-oss (15.6)

If the package is not provided in the tumbleweed repos, I would snag the source rpm from Leap and compile locally.

This is actually pretty easy with “rpmbuild --rebuild ”.

The deprecated build dependencies are not available under Tumbleweed, that is why it won’t build under Tumbleweed. wkhtmltopdf is dead upstream as it depends on no longer available (unsecure) build dependencies…

hui’s reponse convinced me that trying to build it is a bad idea. wkhtmltopdf It is still avaiable on Leap, which you could run in a vm.

But if the software is not no longer maintained, I would look for something else.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.