[Slackbuilds-users] Issues with pdftk-2.02: Missing shared library

Willy Sudiarto Raharjo willysr at slackbuilds.org
Wed Apr 2 21:46:11 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> On Wed, 2 Apr 2014, mancha wrote:
> 
>> I just built it and it links the system's libgcj. Sounds like
>> you're not building things properly.
> 
> mancha,
> 
> Well, if there's a way to 'improperly' run pdftk.SlackBuild then I
> have no idea what it is. Just downloaded the scripts and .zip file,
> rebuilt and reinstalled the executable. Same error:
> 
> pdftk: error while loading shared libraries: libgcj.so.10: cannot
> open shared object file: No such file or directory
> 
> What's interesting is that there is no libgcj.so.10 on the system:
> 
> [rshepard at salmo ~]$ locate libgcj /usr/lib/libgcj-tools.la 
> /usr/lib/libgcj-tools.so /usr/lib/libgcj.so.14.0.0 
> /usr/lib/gcc/i486-slackware-linux/4.8.2/include/gcj/libgcj-config.h
>
> 
/usr/lib/libgcj.so.14
> /usr/lib/pkgconfig/libgcj-4.8.pc /usr/lib/libgcj.la 
> /usr/lib/libgcj-tools.so.14.0.0 /usr/lib/libgcj_bc.so.1 
> /usr/lib/libgcj_bc.so.1.0.0 /usr/lib/libgcj_bc.so 
> /usr/lib/libgcj.so /usr/lib/libgcj-tools.so.14 
> /usr/lib/libgcj.spec 
> /usr/doc/pdftk-2.02/license_gpl_pdftk/third_party/libgcj.txt 
> /usr/share/java/libgcj-4.8.2.jar 
> /usr/share/java/libgcj-tools-4.8.2.jar
> 
> Haven't had this happen before with an SBo package.

I just built pdftk here using sbopkg and this is the result

pdftk:
  MD5SUM check for pdftk-2.02-src.zip ... OK
  Building package pdftk-2.02-i486-1_SBo.tgz ... OK
  Installing package pdftk-2.02-i486-1_SBo.tgz ... OK

willysr at desktop:~$ pdftk
SYNOPSIS
       pdftk <input PDF files | - | PROMPT>
            [ input_pw <input PDF owner passwords | PROMPT> ]
            [ <operation> <operation arguments> ]
            [ output <output filename | - | PROMPT> ]
            [ encrypt_40bit | encrypt_128bit ]
            [ allow <permissions> ]
            [ owner_pw <owner password | PROMPT> ]
            [ user_pw <user password | PROMPT> ]
            [ flatten ] [ need_appearances ]
            [ compress | uncompress ]
            [ keep_first_id | keep_final_id ] [ drop_xfa ] [ drop_xmp ]
            [ verbose ] [ dont_ask | do_ask ]
       Where:
            <operation> may be empty, or:
            [ cat | shuffle | burst | rotate |
              generate_fdf | fill_form |
              background | multibackground |
              stamp | multistamp |
              dump_data | dump_data_utf8 |
              dump_data_fields | dump_data_fields_utf8 |
              dump_data_annots |
              update_info | update_info_utf8 |
              attach_files | unpack_files ]

       For Complete Help: pdftk --help

So it does work normally using the stock on SBo
perhaps you might check your gcc-java package

- -- 
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlM8hSMACgkQiHuDdNczM4HLQACgjUV08n+ZuNOcXw3al93rl4mf
UakAnjHpCr0GCXOGegzugJ2bwfcbLfzo
=bySs
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list