dsz7121 2012-02-29 03:48
浏览 85
已采纳

在bluehost上的pdftk问题

I am trying to fill fields in pdf forms based on user data for a site on bluehost. I had it working about a month ago using pdftk. Yesterday for some reason it is not working at all. I then tried running it from the command line and am getting the following error.

./pdftk: error while loading shared libraries: libgcj.so.7rh: cannot open shared object file: No such file or directory

I have been bashing my head against this for a few hours no to no avail.

Is there any way to fix this on bluehost? I tried manually installing the library, but I can not access /var/lib and I also can not force it to install elsewhere

[~/lib/temp]# rpm -i libgcj-4.1.2-51.SEL5_5.x86_64.rpm warning: libgcj-4.1.2-51.SEL5_5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 652e84dc: NOKEY error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)

[~/lib/temp]# rpm -i --prefix ~/lib/rpm libgcj-4.1.2-51.SEL5_5.x86_64.rpm warning: libgcj-4.1.2-51.SEL5_5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 652e84dc: NOKEY error: package libgcj is not relocatable

Alternatively, is ther any other way of filling pdf files that I am missing? I have looked into Horde PDF, forge_fdf and others and nothing is working.

  • 写回答

2条回答 默认 最新

  • duanben1909 2012-02-29 17:50
    关注

    I know that they just upgraded their server's OS, and yes the CentOS upgrade caused this. But you should be able to get a Cent 6 rpm of the offending lib and the pdftk command and do what ever you did before to make it work. It's probably on of the following:

    libgcj-4.4.6-3.el6.x86_64 or libgcj-4.1.2-51.el5

    /usr/lib64/libgcj.so.10 = looks like that is the new library path

    But contact them to find out which one, or which ones.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 QT6颜色选择对话框显示不完整
  • ¥20 能提供一下思路或者代码吗
  • ¥15 用twincat控制!
  • ¥15 请问一下这个运行结果是怎么来的
  • ¥15 单通道放大电路的工作原理
  • ¥30 YOLO检测微调结果p为1
  • ¥15 DS18B20内部ADC模数转换器
  • ¥15 做个有关计算的小程序
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下