Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDFtk hanging on MacOS Sierra

PDFtk Server seems to be hanging indefinitely on MacOS Sierra. Looks similar to the problem it had on El Capitan.

I'm trying to run this command:

pdftk test1.pdf test2.pdf cat output out.pdf verbose 

And am getting no output, just an indefinite hang. Same with every other command I've tried.

PDFtk --version:

pdftk 2.02 a Handy Tool for Manipulating PDF Documents Copyright (c) 2003-13 Steward and Lee, LLC - Please Visit: www.pdftk.com This is free software; see the source code for copying conditions. There is NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Has anyone managed to find any workarounds for this?

like image 284
Nathan Hazzard Avatar asked Sep 28 '16 14:09

Nathan Hazzard


1 Answers

Use this version:

https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg

Although it’s prepared for El Capitan (10.11), it also works on Big Sur (11), Catalina (10.15), Mojave (10.14), High Sierra (10.13), and Sierra (10.12).

like image 170
Baoshan Sheng Avatar answered Sep 21 '22 12:09

Baoshan Sheng