FreeBSD Port: pdftk-1.44

Greg Larkin glarkin at
Tue Aug 23 21:03:32 UTC 2011

Hash: SHA1

On 8/12/11 9:40 AM, Shaddox, William wrote:
> We use pdftk for shuffling pdfs together and adding watermarks to a pdf
> with the stamp command.  We’ve found that if we start with a pdf that’s
> over 2GB in size, pdftk will give the error below and stop working.  Is
> there any work around for this or is this a known issue?  I’ve checked
> the FAQ but I didn’t see anything about this size limitation. 
> Our system is running FreeBSD version 8.2 –RELEASE AMD64 and pdftk
> version 1.44
> Error: Failed to open PDF file:
>    Output_name.pdf
> Errors encountered.  No output created.
> Done.  Input errors, so no output created.
>            William M. Shaddox

Hi William,

Sorry about the delayed response, but I was on vacation a while back and
never caught up with the ports mailing list messages until today.  Your
direct message was filtered into the same folder, so I missed that one
as well.

Anyway, could you try running pdftk with truss so I can see what's going
on at the system call level?  The command is:

truss -f -a -s 256 -o /tmp/pdftk.log /usr/local/bin/pdftk <your args>

Once pdftk exits with the error, please post /tmp/pdftk.log somewhere
and send a link back here. That should help start the troubleshooting

Thank you,
- -- 
Greg Larkin           - The Power To Serve     - Ready. Set. Code.      - Follow you, follow me
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla -


More information about the freebsd-ports mailing list