Dear SLES-ers,
I need your help.

I upgraded my SLES11SP3 to SLES12SP1 using the .ISO in a USB memory stick.
Everything went smoothly but now most (if not all) X11 commands are broken, leaving my server (256 cores) almost usless to my users.

unset LD_LIBRARY_PATH
/usr/bin/xterm
/usr/bin/xterm: symbol lookup error: /usr/lib64/libX11.so.6: undefined symbol: xcb_take_socket

Before upgrading I saved my SLES11Sp3 system in a disk and now I can use its libraries. In /usr/lib64_SLES11SP3 I copied /usr/lib64 and now I can use it. If I do

setenv LD_LIBRARY_PATH /usr/lib64_SLES11Sp3
then xterm works even if with some warnings:

Warning: translation table syntax error: Unknown keysym name: DRemove
Warning: ... found while parsing '<Key>DRemove: ignore()'
Warning: String to TranslationTable conversion encountered errors

Unfortunately the same trick doesn't work for other commands, eg. emacs

unsetenv LD_LIBRARY_PATH
/usr/bin/emacs
/usr/bin/emacs-gtk: symbol lookup error: /usr/lib64/libX11.so.6: undefined symbol: xcb_take_socket
setenv LD_LIBRARY_PATH /usr/lib64_SLES11Sp3
/usr/bin/emacs
/usr/bin/emacs-gtk: symbol lookup error: /usr/lib64/libcairo-gobject.so.2: undefined symbol: cairo_region_destroy

Dear SLES-sers,
can you help me?
Thank you very much,
Emanuele

this is the list of relevant installed RPMs :
rpm -qa | grep -i x11|sort

dbus-1-x11-1.8.16-19.1.x86_64
emacs-x11-24.3-16.32.x86_64
ghostscript-x11-9.15-6.5.x86_64
libQt5X11Extras5-5.5.1-3.2.x86_64
libX11-6-1.6.2-4.12.x86_64
libX11-6-32bit-1.6.2-4.12.x86_64
libX11-data-1.6.2-4.12.noarch
libX11-devel-1.6.2-4.12.x86_64
libX11-xcb1-1.6.2-4.12.x86_64
libX11-xcb1-32bit-1.6.2-4.12.x86_64
libqt4-x11-32bit-4.8.6-7.1.x86_64
libqt4-x11-4.8.6-7.1.x86_64
libxkbcommon-x11-0-0.4.1-3.1.x86_64
patterns-sles-x11-12-64.3.x86_64
perl-X11-Protocol-0.56-12.19.x86_64
pulseaudio-module-x11-5.0-2.7.x86_64
x11-tools-0.1-205.1.noarch
x11perf-1.5.4-1.15.x86_64
xorg-x11-7.6_1-14.17.noarch
xorg-x11-Xvnc-1.4.3-14.1.x86_64
xorg-x11-devel-7.6-45.14.noarch
xorg-x11-driver-input-7.6_1-11.10.noarch
xorg-x11-driver-video-7.6_1-14.30.x86_64
xorg-x11-essentials-7.6_1-14.17.noarch
xorg-x11-fonts-7.6-29.45.noarch
xorg-x11-fonts-core-7.6-29.45.noarch
xorg-x11-libXpm-7.4-1.17.x86_64
xorg-x11-libs-7.6-45.14.noarch
xorg-x11-libxcb-7.4-1.29.1.x86_64
xorg-x11-proto-devel-7.6-49.97.x86_64
xorg-x11-server-7.6_1.15.2-51.2.x86_64
xorg-x11-server-extra-7.6_1.15.2-51.2.x86_64
xorg-x11-server-sdk-7.6_1.15.2-51.2.x86_64
xorg-x11-util-devel-7.6_1-7.15.noarch
yast2-x11-3.1.3-2.14.x86_64