This annoyance has a long history and is really funny because the same stuff is cured with different methods in different Fedora distributions. In the same time, stuff from Zend is heavily non-free, and I personally dislike the approach of these guys to their own products. The latest annoyance is that after loading Zend Studio 5.5. you see only a grey background and no interface elements (this is all caused by compiz and java toolkit incompatibility). For newest solutions, just scroll to the end of the article.
Symptoms:
When trying to install Zend Studio Client or Zend SafeGuard 4.0 on various Linux systems, namely on Gentoo Linux, the installer crashes with the following errors thrown into the terminal:
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... grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /tmp/install.dir.17548/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
Cause
This problem is caused due to incompatibility of the installer’s Java Run-time Environment with certain system libraries.
Resolution
After extracting the installer, run the following commands in a terminal directory on the same directory where you extracted the installer:
cp ZendSafeGuard-4_0_0.bin ZendSafeGuard-4_0_0.bin.bak cat ZendSafeGuard-4_0_0.bin.bak | \ sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > \ ZendSafeGuard-4_0_0.bin
Note: If you are installing Zend Studio Client, replace all occurrences of “ZendSafeGuard-4_0_0.bin” with “ZendStudio-5_1_0.bin” or “ZendStudio-X_X_X.bin” if you are installing a different version.
After the installation is complete, you can delete both the installer and the installer’s .bak file.
Zend Studio Client specific notes
The same problem might also happen when trying to execute Zend Studio Client after the installation. In order to solve this, run the same commands on the {Zend Studio Installation Dir}/bin/ZDE file:
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
The information in this article applies to
Zend Studio Client on Linux
Zend SafeGuard 4.0.0 and up on Linux
Borrowed from //www.conraddecker.com/2008/08/13/installing-zend-studio-for-eclipse-on-64-bit-fedora-core-9/
The above has been fixed in ZDE 5.5
- Install Fedora Core
- Download the Zend Studio installer from the Zend.com website.
- Make sure that you’ve got all of the necessary libraries installed.
* Modify /etc/yum.conf by adding multilib_policy=all to the bottom of the configuration settings, but above the repository listings. (did not do that…)
* Install the libXtst libraries by running yum install libXtst.i386
* Install the gtk2 libraries by running yum -y install gtk2.i386
4. Install Zend Studio by running ./ZendStudioForEclipse-6_0_1.bin
Updated for Fedora 10 (x86_64 platform)
sudo yum -y install libXp.i386 libXp.x86_64 gedit .bashrc
Add code:
export AWT_TOOLKIT=MToolkit
Restart X and enjoy.