我使用的是 Linux Redhat 64bit。我的服务器信息是
Linux ************* 2.6.18-238.5.1.el5xen #1 SMP 2 月 21 日星期一 06:01:41 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
为了创建 PDF,我使用 Wkhtmltopdf。
所以首先我安装了 wkhtmltopdf-0.9.9-static-amd64.tar.bz2 当我执行命令时。它显示段错误错误。
所以我重新安装了wkhtmltopdf-0.9.9-static-i386.tar.bz2,它显示wkhtmltopdf:符号查找错误:wkhtmltopdf: undefined symbol :FcFreeTypeQueryFace错误。
如何修复该错误?有解决方案吗
最佳答案
这很可能是源自 Qt 的有关 fontconfig 的错误,它(或非常类似的问题)一直是 reported in the wkhtmltopdf issues list and there is a workaround/fix there你可以尝试一下。
关于php - 在linux Redhat服务器64位上安装并执行Wkhtmltopdf(使用PHP),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12914932/