天天看點

linux使用wkhtmltopdf報錯error while loading shared libraries:

官網提示 linux需要這些動态庫。depends on: zlib, fontconfig, freetype, x11 libs (libx11, libxext, libxrender)

在linux上執行

error while loading shared libraries: libxrender.so.1

 安裝完成後再次執行,上面的那條錯誤沒有了。但是又有新的錯誤!繼續安裝

./wkhtmltopdf: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: no such file or directory