h4cc / wkhtmltopdf-amd64

wkhtmltopdf - Convert html to pdf using webkit (qtwebkit). Linux amd64 Binary.
http://wkhtmltopdf.org/
GNU Lesser General Public License v3.0
474 stars 170 forks source link

Issue with #18

Open rodrigoguerrasa opened 8 years ago

rodrigoguerrasa commented 8 years ago

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 8 years ago

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

rodrigoguerrasa commented 8 years ago

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.

rodrigoguerrasa commented 8 years ago

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 8 years ago

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