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

前端 未结 11 1604
一向
一向 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:55

    The Unix packages x11-libs/libXext and x11-libs/libXrender are dependencies

    Gentoo:

    sudo emerge libXext libXrender
    

    PDFkit wiki also explains in more detail how to get wkhtmltopdf working on engine yard. PDFkit wiki

    Debian or Ubuntu:

    sudo apt-get install libxrender1
    

    Hope this helps

提交回复
热议问题