我的备忘录


Ubuntu 6.10 Edgy 下ZendStudio不能运行的问题。

Posted in Linux, php by Kafeifei on the 10月 29th, 2006

升级完发现系统速度居然比6.06更快!
其他都还不错,只是ZDE不能运行了,出现以下错误信息:

Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.9288/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

尝试手动链接 /usr/lib/ 下的文件也不行,发现原来这些文件在 /lib/ 下都是存在的,google以后找到问题所在,然后看到 http://192.150.14.120/cfusion/knowledgebase/index.cfm?id=tn_18831 写的好像是叫修改版本号,具体的搞不懂 echo $LD_ASSUME_KERNEL 也是空的,最后还是注释刁解决问题:

修改 ZDE 把第1488行注释掉(可能是其他行)。

1448 #export LD_ASSUME_KERNEL=2.2.5

另外安装文件也有同样的问题,看引用文写了个脚本:

#!/bin/bash
if [ "x$1" == "x" ]
then
echo "usage: $0 filename";
fi
newfile="new_$1";
cat $1 | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > $newfile;
chmod +x $newfile;
echo $newfile;

保存为例如 newglibc

$chmod +x newglibc

以后遇到这种问题直接:

$ ./glibcFix ZendStudio-xxx.bin
new_ZendStudio-xxx.bin
$ ./new_ZendStudio-xxx.bin

就可以运行了

好像写得有点白痴,太无聊了吧,想多写两个字。

3 Responses to 'Ubuntu 6.10 Edgy 下ZendStudio不能运行的问题。'

Subscribe to comments with RSS or TrackBack to 'Ubuntu 6.10 Edgy 下ZendStudio不能运行的问题。'.

  1. hu said,

    on 04月 24th, 2007 at 9:30 am

    thank you ,
    我的问题和你的一样,我已经解决了,按照你的方法。

  2. Steve said,

    on 07月 23rd, 2007 at 4:44 pm

    Steve...

    In few years we will see a result...

  3. David B. said,

    on 04月 11th, 2008 at 2:51 pm

    From the beginning your blog seemed pretty dull for me. But now it keeps getting better. THIS post is just AWESOME!

Leave a Reply


16 项查询 - 0.218 秒