h4cc/wkhtmltopdf-amd64

Issue with

Opened this issue · 4 comments

I am trying to run wkhtmltopdf-amd64 on a linux server and I am getting the following error

./wkhtmltopdf-amd64: /lib64/libc.so.6: versionGLIBC_2.9' not found (required by ./wkhtmltopdf-amd64)
./wkhtmltopdf-amd64: /lib64/libc.so.6: version GLIBC_2.10' not found (required by ./wkhtmltopdf-amd64) ./wkhtmltopdf-amd64: /lib64/libc.so.6: versionGLIBC_2.7' not found (required by ./wkhtmltopdf-amd64)`

the library libc.so.6 exists in /lib64 but apparently the version is older. I can't get the version since dpkg is not active on the shared environment. Can I use an earlier version of libc.so.6? Any ideas of how to circumvent this problem?

h4cc commented

Have you tried using a system installed package from here? http://wkhtmltopdf.org/downloads.html

I downloaded the package for linux 64 bit but it comes as a tarball with tar.xz . My shared host does not support tar.xz only tar and tar.bz2 . So I installed it from here (github) using composer.

OK, I downloaded from the wkhtmltopdf.org and converted the tar.xz to tar.gz. Unpacked it and got the same problem. Do you think the libc in my server can be 7 years old?

h4cc commented

You have not yet once stated, which Server OS you have. Of course it can be too old, even with static linking.

A better place to find support for your problem will be the issue tracker of the project itself: https://github.com/wkhtmltopdf/wkhtmltopdf/issues