Summary:
--------
Some newer Linux release have significant changes
in the X11 libraries which break GDE. On linux-intel
(and linux-x86_64, which uses the 32-bit binaries) we
must still use the old Fedora 4 libraries which were
present when gde.bin was compiled. These are provided
in $birch/lib-linux-intel/fc4libs, which is put at the
beginning of the $LD_LIBRARY_PATH in the gde wrapper script
$birch/bin-linux-intel/gde.


Description of the problem:
-----------------------------
On Fedora 8, gde fails to run, giving the following error:

gde.bin: xcb_io.c:285: _XAllocID: Assertion `!(dpy->flags & (1L << 3))' failed.
Abort


This is the ldd output on Fedora4:

  linux-gate.so.1 =>  (0x003cf000)
        libm.so.6 => /lib/libm.so.6 (0x00519000)
        libxview.so.3 => /home/birch/lib-linux-intel/openwin/lib/libxview.so.3 (0x00247000)
        libolgx.so.3 => /home/birch/lib-linux-intel/openwin/lib/libolgx.so.3 (0x00bde000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0055b000)
        libc.so.6 => /lib/libc.so.6 (0x003ee000)
        /lib/ld-linux.so.2 (0x003d0000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00630000)
        libdl.so.2 => /lib/libdl.so.2 (0x00540000)

This is the ldd output on Fedora8:

        linux-gate.so.1 =>  (0x00110000)
        libm.so.6 => /lib/libm.so.6 (0x00ce6000)
        libxview.so.3 => /home/birch/lib-linux-intel/openwin/lib/libxview.so.3 (0x00111000)
        libolgx.so.3 => /home/birch/lib-linux-intel/openwin/lib/libolgx.so.3 (0x00242000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00250000)
        libc.so.6 => /lib/libc.so.6 (0x00b8b000)
        /lib/ld-linux.so.2 (0x00b6c000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00dca000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00d53000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00da6000)
        libdl.so.2 => /lib/libdl.so.2 (0x00d11000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00d5f000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00d57000)


Note that libxcb.so.1,libxcb-xlib.so.0, libXau.so.6, and libXdmcp.so.6 
are not used on Fedora4. Presumably, these are called by one of the 
revised libraries.

The Fix:
---------

The Fedora4 libraries have been added as described above. Renaming
libX11.so.6 to libX11.so.6.bak eliminates the xcb_io error, so 
the Fedora8 version of this library appears to be the culprit.
However, a segmentation fault occurs now, complaining about
a color problem. This is solved by renaming libdl.so.6 to libdl.so.6.bak,
and libc.so.6 to libc.so.6.bak.
So, we need to give gde the FC4 version of libX11.so.6, but use
the current versions of libc.so.6 and libdl.so.6 for each system. 


Note: ld-linux.so.2 seems to interfere with nedit working properly
when launched from GDE. This file has been renamed with the .bak
extension so that it won't be used, but can be kept around if needed.
It also turns out that libxm.so.6 isn't needed either, so that has
also been renamed on the theory that the fewer FC4 libraries we
use, the better.

This means that the only fc4lib libraries actually used by GDE
are libX11.so.6 and libXext.so.6.

