Yeni Setiawan


Installing Zend Studio 5.5.1

03 November 2008 06:14:04 WIB, under category Technical Stuffs

While installing Zend Studio 5.5.1 I found following error:

Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb1ff4727]
..etc..
..etc..
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted

After googling around I found one hit solution, using so called sed command. This is step by step of how to solve this problem around.

  1. As root, call the installer from the command line:
    root[pilem]# ./ZendStudio5_5_1.bin

  2. Watch the screen carefully, it will display something like:
    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...Launching installer...

  3. Once you see ‘Launching installer…’, press Ctrl+Z quickly.
  4. If you press Ctrl+Z in the good time, you will see this message:

    [1]+ Stopped ./ZendStudio5_5_1.bin
    Otherwise, you must restart from step 1. This trick will put the process into background so you can interupt the process.
  5. Find a libmawt.so in the temporary installation directory. It might be located at /tmp/instal.dir.xxx/

    root[pilem]# find /tmp/install.dir.2656/ | grep libmawt
    /tmp/install.dir.2656/Linux/resource/jre/lib/i386/xawt/libmawt.so
    /tmp/install.dir.2656/Linux/resource/jre/lib/i386/motif21/libmawt.so
    /tmp/install.dir.2656/Linux/resource/jre/lib/i386/headless/libmawt.so

    If you see more than one instal.dir.xxxx then you should choose the latest one.
  6. We have found where libmawt.so is located. Now this is the trick:
    root[pilem]# sed -i 's/XINERAMA/FAKEEXTN/g' /tmp/install.dir.2656/Linux/resource/jre/lib/i386/xawt/libmawt.so
    Press enter, nothing seem happen on the screen. Don’t be panic.
  7. Type fg and press enter to bring Zend Studio installer into foreground. Congratulation, now you should see the dialog window appear.

I don’t know what’s wrong with this, whether the Zend Installer is having bug or the Java distribution. It never happened before.


2 Comments so far..

  1. Okto Silaban
    03 November 2008, 22:01:31 WIB

    Eh.. Zend Studio gratis pa? Bukannya free trial doang?

  2. operaTor
    04 November 2008, 06:58:43 WIB

    Okto, I didn’t mention that Zend Studio is free. But I have a copy of it, legally :D

RSS for comments TrackBack URL

Leave a comment or two

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>