Rails: Error running wkhtmltopdf — (error while loading shared libraries)

前端 未结 11 1606
一向
一向 2021-02-04 23:12

When my app runs (or when I run from commandline) the wkhtmltopdf command I get the following error: (showing it from command line)

#> wkhtmltopdf 
wkhtmltopd         


        
11条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 23:48

    Ran into this today on a RHEL7 machine running the static version of wkhtmltopdf. Solution was to install a few dependencies:

    yum install libXrender libXext fontconfig 
    

提交回复
热议问题