Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-15-2015, 08:33 AM
|
#1
|
Member
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 193
Rep:
|
PDFTK dependency problem with PDF Chain in Fedora 21
Hello,
I was able to install and start PDF Chain 0.3.3 in Fedora 21, but when I try to perform any functions it tells me that "PDFTK-Command not found Error code: 32512".
According to YUM, I have the full pdftk package installed. So I tried running pdftk in a terminal, and it said: "pdftk: error while loading shared libraries: /usr/lib64/gcj/itext/itext-2.1.7.jar.so: cannot open shared object file: No such file or directory".
But also according to YUM, I have the itext and itext-core packages installed. Looking at the package filelist there aren't any files installed to /usr/lib64/gcj/itext/, maybe this is the problem? But even so, how do I troubleshoot this so I can use PDF Chain? Thanks!
|
|
|
04-16-2015, 01:56 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Looks like a bug.
'itext', Fedora 21 : Nothing but ...
/usr/share/doc/itext/{ four text files }.
'itext', Fedora 20 - 64bits :
/usr/lib64/gcj/itext/itext-2.1.7.jar.db
/usr/lib64/gcj/itext/itext-2.1.7.jar.so
http://dl.fedoraproject.org/pub/fedo...c20.x86_64.rpm
('itext-core' : /usr/share//**)
-
|
|
1 members found this post helpful.
|
04-16-2015, 09:45 AM
|
#3
|
Member
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 193
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
Looks like a bug.
'itext', Fedora 21 : Nothing but ...
/usr/share/doc/itext/{ four text files }.
'itext', Fedora 20 - 64bits :
/usr/lib64/gcj/itext/itext-2.1.7.jar.db
/usr/lib64/gcj/itext/itext-2.1.7.jar.so
http://dl.fedoraproject.org/pub/fedo...c20.x86_64.rpm
('itext-core' : /usr/share//**)
-
|
Wow thank you for discovering this! I have filed a bug report here:
https://bugzilla.redhat.com/show_bug.cgi?id=1212521
|
|
|
04-17-2015, 05:00 AM
|
#4
|
Member
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 193
Original Poster
Rep:
|
Quote:
Originally Posted by penyuan
|
Apparently the required libgcj stuff is no longer included/supported in Fedora!
I tried downloading the original PDFTK source to build it from scratch, but it also requires libgcj. Is there (1) another way to get PDFTK to work in Fedora 21+, or (2) something else that performs PDF Chain's functions without ultimately needing libgcj?
|
|
|
04-17-2015, 05:12 AM
|
#5
|
Member
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 193
Original Poster
Rep:
|
OK, I found the following with Alternatives To: I found and installed PDF-Shuffler with YUM, and it worked! I suspect the other three should work, too. For now I will mark this thread as "solved".
|
|
|
04-17-2015, 07:41 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #5.
Another PDF tool that I found useful is "python-pdfminer" :
/usr/bin/dumppdf
/usr/bin/latin2ascii
/usr/bin/pdf2txt
/usr/bin/pdf2txt actually works, unlike some other 'pdf2txt' scripts.
The python-pdfminer pdf2txt preserves code OK from a PDF.
-
|
|
1 members found this post helpful.
|
04-17-2015, 10:04 AM
|
#7
|
Member
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 193
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
/usr/bin/pdf2txt actually works, unlike some other 'pdf2txt' scripts.
The python-pdfminer pdf2txt preserves code OK from a PDF.
|
Wow that is very impressive! Thanks for bringing this up, I found it and will note the URL here: http://www.unixuser.org/~euske/python/pdfminer/
|
|
1 members found this post helpful.
|
04-17-2015, 10:33 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #7.
OK, if you are interested in pdfminer, it is available for Fedora :
http://dl.fedoraproject.org/pub/fedo...os/Packages/p/
# yum install python-pdfminer
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|