Friday, June 23, 2006

Zend Studio library problem

As expected, difficulties emerged when trying to install Zend studio on my new AMD64 Ubuntu 6.06 installation.
awk: error while loading shared libraries: libdl.so.2: cannot open shared object
... 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
The solution though was simple.
$ cp ZendStudio-5_2_0.bin ZendStudio-5_2_0.bin.bak
$ cat ZendStudio-5_2_0.bin.bak sed "s/export \ LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > \ ZendStudio-5_2_0.bin
For some reason, I also had to do the same on the ZDE binary after installation. The following should work assuming you chose the default location for zend installation:
$ cd /usr/local/Zend/ZendStudioClient-5.2.0/bin$ cp ZDE ZDE.bak
$ cat ZDE.bak sed "s/export \ LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ZDE$ rm ZDE.bak

No comments: