Zend Studio on Fedora Core 8

One of the pleasures of using Zend Studio, and often trying out Fedora Linux pre-releases, is that Zend Studio often breaks on upgrading… this was the case with fedora 6, 7 and now with 8-test2 as well.

If you try to start ZDE after upgrading your system to Fedora 8 test2 (or any other recent xorg/libxcb based distribution) you will be greeted by this error:

xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.

The bug that causes this is discussed in these bug reports:
https://bugs.freedesktop.org/show_bug.cgi?id=9336
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373

In short the solution is (in your terminal, as root):
# cd /usr/local/Zend/ZendStudio-5.5.0/jre/lib/i386/xawt
# cp libmawt.so libmawt.so.bak && sed -i ’s/XINERAMA/FAKEEXTN/g’ libmawt.so

And your back in buisness! Happy hacking :-)

Fedora, Generic, PHP, 4 comments,

4 Responses to “Zend Studio on Fedora Core 8”

  1. Nick Says:

    10x for the info it also works for me.

  2. Faris Madi Says:

    I installed ZendStudio-5_5_0.bin in silent mode
    and the installation finished successfully.

    after that I did your two steps. What after that?

  3. Callum Says:

    Does Zend Studio 5.5 run on Fedora 8 final for you? I’ve applied the fix you mention (it’s documented in a few places). I can launch Zend Studio, but the screen is filled with blank areas. It’s completely unusual. None of the fixes I’ve found (related to -Dawt.toolkit=sun.awt.motif.MToolkit) have worked for me. I’m curious to know if anyone else has it working.

  4. bigA Says:

    Tried a few things, this is how I got it to work finally.

    followed this tech note

    http://www.zend.com/support/knowledgebase.php?kbid=241&view_only=1

    Then I
    yum install libXp


Leave a Reply