您的位置:首页 > 编程语言 > PHP开发

FC8下安装Zend Studio5.1.0时遇到的问题及解决方法

2010-11-23 11:29 459 查看
Zend Studio在较新版本的Linux上安装经常会出现问题,本文针对Zend Studio5.1.0在FC8上安装时遇到的两个问题及解决办法进行了介绍。

安装时找不到libdl.so等库文件

现象:
安装过程中出现如下错误
#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...


解决办法:

对安装文件进行处理
#cp ZendStudio-5_1_0.bin ZendStudio-5_1_0.bin.bak
#sudo cat ZendStudio-5_1_0.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ZendStudio-5_1_0.bin

安装
#sh ZendStudio-5_0_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用户)

安装时出现Assertion `c->xlib.lock' failed的错误

现象:
在解决了第一个问题后,安装过程中又出现了如下错误:java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed

解决办法:倒退回FC7的libx11

卸载以下两个数据包(可能有依赖问题无法卸载,在后面添加 --nodeps 参数强制卸载)
#rpm -e --nodeps libX11-1.1.3-4.fc8
#rpm -e --nodeps libX11-devel-1.1.3-4.fc8

安装以下两个rpm包(可到rpm serch网站下载这两个rpm包)
#rpm -ivh libX11-1.0.3-8.fc7.i386.rpm
#rpm -ivh libX11-devel-1.0.3-8.fc7.i386.rpm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐