problems installing wkhtmltopdf-0.12.4-11.1.x86_64.rpm

Hello,

if I download wkhtmltopdf-0.12.4-11.1.x86_64.rpm from https://software.opensuse.org/package/wkhtmltopdf and try to install it on a SLES 12 SP3 system i get following error:
Code:

emtc_x_a_breimar-f/J2EE_EE_6.0.1_LNX> sudo rpm -i wkhtmltopdf-0.12.4-11.1.x86_64.rpm error: Failed dependencies: libwkhtmltox.so.0()(64bit) is needed by wkhtmltopdf-0.12.4-11.1.x86_64

why is libwkhtmltox.so.0 not included in the package and where can I get this from? Any idea?

On 18/07/18 11:44, breitenb wrote:
[color=blue]

if I download wkhtmltopdf-0.12.4-11.1.x86_64.rpm from
https://software.opensuse.org/package/wkhtmltopdf and try to install it
on a SLES 12 SP3 system i get following error:
Code:

Code:

 emtc_x_a_breimar-f/J2EE_EE_6.0.1_LNX> sudo rpm -i wkhtmltopdf-0.12.4-11.1.x86_64.rpm

error: Failed dependencies:
libwkhtmltox.so.0()(64bit) is needed by wkhtmltopdf-0.12.4-11.1.x86_64

why is libwkhtmltox.so.0 not included in the package and where can I get
this from? Any idea?[/color]

It should be in the associated wkhtmltopdf-devel package.

Since you are using SUSE’s enterprise Linux please note that these
packages are not supported by SUSE.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Hi
FWIW, That’s a packaging error since it should be looking for the soname version not the so file…
https://build.opensuse.org/package/show/Publishing/wkhtmltopdf

@OP, welcome to the Forum :slight_smile: do you know about Package Hub? Since it’s in the openSUSE rolling distribution Tumbleweed you could look at asking the maintainers to build against SLE Backports and push there?
https://packagehub.suse.com/

[QUOTE=smflood;53555]On 18/07/18 11:44, breitenb wrote:
[color=blue]

It should be in the associated wkhtmltopdf-devel package.

Since you are using SUSE’s enterprise Linux please note that these
packages are not supported by SUSE.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------[/QUOTE]

An how can I get the devel-package for SLES 12 SP3? Is ther a way?

[QUOTE=malcolmlewis;53558]Hi
FWIW, That’s a packaging error since it should be looking for the soname version not the so file…
https://build.opensuse.org/package/show/Publishing/wkhtmltopdf

@OP, welcome to the Forum :slight_smile: do you know about Package Hub? Since it’s in the openSUSE rolling distribution Tumbleweed you could look at asking the maintainers to build against SLE Backports and push there?
https://packagehub.suse.com/[/QUOTE]

Thank you very much for the answer. So what may I do step by step (I’m a little bit neewbe :o )

Hi
You will need to download the two files and zypper in all three (your original wkhtmltopdf package);
https://download.opensuse.org/repositories/Publishing/SLE_12_SP3/x86_64/wkhtmltopdf-devel-0.12.4-10.1.x86_64.rpm
https://download.opensuse.org/repositories/Publishing/SLE_12_SP3/x86_64/libwkhtmltox0-0.12.4-10.1.x86_64.rpm

Or if you have internet access, just zypper in with the download urls…

If you create an account and login to OBS (in the above package link), you can ask in the comments section for them to add the SLE backports repo and push to package hub, this will only happen if the maintainer is happy to do…

[QUOTE=malcolmlewis;53563]Hi
You will need to download the two files and zypper in all three (your original wkhtmltopdf package);
https://download.opensuse.org/repositories/Publishing/SLE_12_SP3/x86_64/wkhtmltopdf-devel-0.12.4-10.1.x86_64.rpm
https://download.opensuse.org/repositories/Publishing/SLE_12_SP3/x86_64/libwkhtmltox0-0.12.4-10.1.x86_64.rpm

Or if you have internet access, just zypper in with the download urls…[/QUOTE]

Hello malcolmlewis,

thank you very much. This have worked for me with version umber 0.12.4-11.1 instead of 0.12.4-10.1

So I downloaded
libwkhtmltox0-0.12.4-11.1.x86_64.rpm, wkhtmltopdf-devel-0.12.4-11.1.x86_64.rpm and wkhtmltopdf-0.12.4-11.1.x86_64.rpm from

http://linux2.mathematik.tu-darmstadt.de/pub/linux/distributions/opensuse/repositories/devel:/languages:/python/openSUSE_Leap_42.3/x86_64/

and then I did a

sudo zypper in wkhtmltopdf/libwkhtmltox0-0.12.4-11.1.x86_64.rpm
sudo zypper in wkhtmltopdf/wkhtmltopdf-devel-0.12.4-11.1.x86_64.rpm
sudo zypper in wkhtmltopdf-0.12.4-11.1.x86_64.rpm

and everything worked.