我想把wkhtmltopdf放到一個virtualbox'ed Ubuntu 12.04 64位服務器上。到目前爲止沒有運氣。 從倉庫包都想擁有的Xserver運行和靜態版本:wkhtmltopdf segfaults
wkhtmltopdf google.com tesss.pdf
Loading pages (1/6)
QSslSocket: cannot resolve SSLv2_client_method ] 10%
QSslSocket: cannot resolve SSLv2_server_method
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
QPixmap: Cannot create a QPixmap when no GUI is being used===] Page 1 of 1
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Segmentation fault
任何想法如何,我可能接近這個?
這會幫助你沒有X運行它:HTTP ://stackoverflow.com/a/12483745/694325?安裝openSSL可能有助於解決https問題(所以我聽說,還沒有測試過)。 – Nenotlep
也許,但由於我沒有直接使用wkhtmltopdf(使用php集成庫),我可能需要更改庫以使用上述調用方法 – HouseMD
http://stackoverflow.com/questions/4986632/run-wkhtmltopdf- on-centos-5-5-32bit有類似的問題,它與傳輸錯誤有關,但我在服務器上使用wget和extractin。同樣的錯誤出現在CentOS 5上 – HouseMD