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

前端 未结 11 1602
一向
一向 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-05 00:09

    If your system is 64 bits, and your software requires 32 bits libs, you need to add the flag "i386",

    for example on ubuntu:

    sudo apt-get install libxrender1:i386
    

提交回复
热议问题