Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation: pdftk not available for CentOS 7 #2760

Closed
sbujam opened this issue Feb 10, 2015 · 4 comments
Closed

installation: pdftk not available for CentOS 7 #2760

sbujam opened this issue Feb 10, 2015 · 4 comments

Comments

@sbujam
Copy link
Contributor

sbujam commented Feb 10, 2015

It seems that pdftk is not available for CentOS7/RHEL7 neither in binary format NOR it can be compiled from source because it requires gcj (and relevant libgcj), which are considered deprecated and will not be available for these distributions.
See also this post and this post.

(Having said that, it seems that both pdftk and gcj are still available for Ubuntu 14.x and Debian 7.x)

The pdftk developer is aware of this and plans to eventually provide a version that will not require gcj. However, because this seems to be quite a heavy task and because pdftk development seems to have slowed down (no official release/update for 1 1/2 year), it might be a good idea to put a warning regarding the CentOS7/RHEL 7 incompatibility in the INSTALL file [*].

[*] for me this is a 'blocker' for Centos7 (as I will need pdf stamping) and I found it the hard way...

@kaplun
Copy link
Member

kaplun commented Feb 10, 2015

Thanks for pointing this out. Actually the stamping can nowadays being reimplemented using Pythonic
PyPDF2 (http://pythonhosted.org/PyPDF2/)

@jirikuncar jirikuncar changed the title ptftk not available for CentOS 7 installation: ptftk not available for CentOS 7 Feb 23, 2015
@jirikuncar jirikuncar modified the milestone: v2.1 Mar 13, 2015
@jirikuncar
Copy link
Member

@switowski @ludmilamarian @egabancho is it in plans for CDS?

@jirikuncar jirikuncar modified the milestones: v2.x, v2.1 Apr 9, 2015
@kaplun kaplun changed the title installation: ptftk not available for CentOS 7 installation: pdftk not available for CentOS 7 Sep 11, 2015
@jirikuncar
Copy link
Member

There are solutions based on http://docs.wand-py.org/en/0.4.3/

@ewheelerinc
Copy link

@sbujam, We just ran into the same issue. libgcj.so.10 from el6 is compatible with el7's shared library bindings for PDFtk. We built some RPMs that include the library from CentOS6, so if you would like a 1-line install then see here depending on your architecture: https://www.globallinuxsecurity.pro/pdftk-works-on-centos-7/

Eric Wheeler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment