lunes, noviembre 06, 2006

Instalar Zend en Ubuntu Edgy

Instalando Zend-5.2.0 en Ubuntu Edgy, tuve algunos problemas al principio por que me devolvia la siguiente salida:
~$ ./ZendStudio-5_2_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...
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.8313/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

Pero encontre la solucion en los foros de Ubuntu y de Zend:
Tenemos que hacer lo siguiente:

# 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

# ZendStudio-5_2_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: cmd. line:6: warning: escape sequence `\.' treated as plain `.'

Launching installer...

Links de Referencia:
http://ubuntuforums.org/showthread.php?p=1682073
http://www.zend.com/support/knowledgebase.php?kbid=184&view_only=1

Actualización del día 8/11/2006

Si aún despues de instalarlo tienn problemas, ejecuten los siguientes comandos:
$ cd /usr/local/Zend/ZendStudioClient-5.1.0/bin

$ sudo cp ZDE ZDE.bak

$ sudo chmod 777 ZDE

$ sudo cat ZDE.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ZDE

$ sudo chmod 755 ZDE

$ sudo rm ZDE.bak


No hay comentarios.: