升级完发现系统速度居然比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
就可以运行了
好像写得有点白痴,太无聊了吧,想多写两个字。