背景:
阅读新闻
Zend Studio5.0版本无法在Linux安装解决
[日期:2008-10-17] 来源:Linux社区 作者:Linux编辑 [字体:]
[root@jack soft]# sh ZendStudio-5_0_0.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: 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...
原因是:Zend Studio自带的JRE跟系统中的某些类库起冲突了。
安装之前先执行:
复制内容到剪贴板
sudo cat ZendStudio-5_2_0.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ZendStudio-5_2_0.bin
安装之后执行:
复制内容到剪贴板
cd /usr/local/Zend/ZendStudioClient-5.1.0/bin
cp ZDE ZDE.bak
cat ZDE.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ZDE
rm ZDE.bak
(记得加sudo,或者自己切换到root用户,呵呵)
相关资讯 Linux教程
本文评论 查看全部评论 (0)
尊重网上道德,遵守中华人民共和国的各项有关法律法规 承担一切因您的行为而直接或间接导致的民事或刑事法律责任 本站管理人员有权保留或删除其管辖留言中的任意内容 本站有权在网站内转载或引用您的评论 参与本评论即表明您已经阅读并接受上述条款
评论声明
最新资讯