FreeBSD Port: pdftk-1.44

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


-----BEGIN PGP SIGNED MESSAGE-----
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
process.

Thank you,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/cpucycle/      - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5UDUAACgkQ0sRouByUApCfGwCgzMAC2pTELzz5A9gc9fysP//f
4q0AmwSTD6tM9C9i0g5NTmJtDwg/ml5t
=r3oe
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list