:/usr/local/bin# file wkhtmltopdf
wkhtmltopdf: Mach-O executable i386
该文件将不会运行。我尝试删除并重新安装,但没有成功。我查看了权限(如下),它们看起来也不错:
-rwxr-xr-x 1 root root 13817060 Aug 9 13:07 wkhtmltopdf
当我运行 wkhtmltopdf 时,出现以下错误:
wkhtmltopdf
-bash: /usr/local/bin/wkhtmltopdf: cannot execute binary file