WebFaction
Community site: login faq
0
1

Can someone give directions on how to install PDFTK on CentOS 6, 64-bit? I have tried following the directions on this thread – http://community.webfaction.com/questions/5629/need-tips-on-installing-pdftk-the-pdf-toolkit - but the make and make install steps give me errors.

If I try to build from source like the PDFTK install page (http://www.pdflabs.com/docs/install-pdftk/) explains, but it appears I'm missing libgcj. I try to install libgcj, and it says I'm missing libart_lgpl. I try to install that, and I get this error: "error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)". I'm not used to using the RPM system, so any help is appreciated.

asked 06 Aug '12, 10:33

mindsalt
111
accept rate: 0%

You can't install stuff from rpm's, since you don't have root access.

We're looking into a way to make the pdftk installation procedure work on CentOS6 and will post here (and update the original procedure) when we get it working.

(06 Aug '12, 13:02) seanf

Anyway progress on installing the pdftk on CentOS 6?

(31 Aug '12, 11:35) lamjimmy

I was able to install the last library with the following,

wget http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.tar.bz2
tar -xf libart_lgpl-2.3.21.tar.bz2
cd libart_lgpl-2.3.21
./configure --prefix=$HOME
make
make install

I verified the build worked as I could find them in my ~/lib directory. The other libraries should build with similar methods. You will want to read our documentation on building software from source which covers how to tell the final build how to find the custom libraries.

permanent link

answered 31 Aug '12, 19:22

johns
5.4k312
accept rate: 23%

edited 31 Aug '12, 19:23

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×11
×9
×5
×5

question asked: 06 Aug '12, 10:33

question was seen: 7,757 times

last updated: 31 Aug '12, 19:23

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM