问题描述
我正在尝试在我的debian linux服务器上安装wkhtmltopdf,这样我就可以测试它是否从URL创建pdf.
I'm trying to install wkhtmltopdf on my debian linux server so I will be able to test if it creates a pdf from a url.
我已经下载了wkhtmltopdf-0.9.9-static-i386.tar.bz2并将其内容提取到目录中.
I've downloaded wkhtmltopdf-0.9.9-static-i386.tar.bz2 and extracted it's contents to a directory.
当我尝试测试它是否正常工作时,我遇到了下一个错误:
When I try to test if it's working, I came across the next error:
我正在尝试在我的symfony2上安装 https://github.com/KnpLabs/KnpSnappyBundle 而且我认为我需要先在Linux上安装wkhtmltopdf.我说的对吗?
I'm trying to install https://github.com/KnpLabs/KnpSnappyBundle on my symfony2 and I think I need to install wkhtmltopdf on my linux first. Am I right?
推荐答案
解决这个问题花了我几个小时,但您还需要安装libfontconfig1,例如:
It took me a few hours to solve this one, but you need to install libfontconfig1 also e.g.:
apt-get install libfontconfig1
这篇关于wkhtmltopdf-libfontconfig.so.1:无法打开共享库文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!