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 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献