Comment 88 for bug 185311

Revision history for this message
Aleksander Demko (ademko) wrote :

Ok, here's a really ugly and large hack that seems (for me anyways) to get Matlab back to where it was before Hardy.

Basically, I took the libX11.so (and related) files from a different machine that didn't have a libxcb-backed libX11:

 scp fedora3machine:/usr/X11R6/lib64/lib*.so.? /opt/oldX11lib

Then I placed this new set of X11 libs in my load path:

 export LD_LIBRARY_PATH=/opt/oldX11lib:$LD_LIBRARY_PATH

Then I ran Matlab with great success, even over TCP.

Note, make sure you use the proper (32-bit or 64-bit) libraries for you machine/application.

This hack is at best temporary to get you going. Ideally, the libX11-xcb library should emulate all the issues of the old libX11 for older apps, or it should be removed and let the old libX11 continue to serve those applications. Frameworks and applications can then migrate to libxcb at their own pace.