How to install PDFTK on Amazon Linux AMI version 2012.03

I cannot install pdftk on Amazon Linux AMI version 2012.03. pdftk requires gcj2.14 and amazon ami to provide the gcj2.12 package. If I try to install gcj2.14 with the existing gcj package A conflict occurred. Please suggest a way to install pdftk without upgrading amazon ami linux, because my application is already set up and running there.

We would appreciate it

Inspired by @marcus and his github repo, this is how I did it:

sudo wget -O /usr/lib64/libgcj.so.10 https://github.com/lob/lambda-pdftk-example/raw/master/bin/libgcj.so.10< br />sudo wget -O /usr/bin/pdftk https://github.com/lob/lambda-pdftk-example/raw/master/bin/pdftk
chmod a+x /usr/bin/pdftk

It works miraculously.

I cannot install pdftk on Amazon Linux AMI version 2012.03. pdftk requires gcj2.14 and amazon ami to provide gcj2.12 Package. If I try to install gcj2.14 conflicts with the existing gcj package. Please suggest a way to install pdftk without upgrading amazon ami linux because my application is already set up and running there.

We would be very grateful

Inspired by @marcus and his github repo, this is how I did it:

sudo wget -O /usr/lib64/libgcj.so.10 https://github.com/lob/lambda-pdftk-example/raw/master/bin/libgcj.so .10
sudo wget -O /usr/bin/pdf tk https://github.com/lob/lambda-pdftk-example/raw/master/bin/pdftk
chmod a+x /usr/bin/pdftk

It works miraculously.< /p>

Leave a Comment

Your email address will not be published.