2018-01-20

Next-lxqt -- quick solution for undefined symbol: _XEatDataWords


quick solution for undefined symbol: _XEatDataWords

3.
tux@slitaz:~$ ldd -r /opt/VirtualBox/VirtualBox.so
linux-gate.so.1 (0xb776f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d2a000)
libxcb.so.1 => /opt/VirtualBox/libxcb.so.1 (0xb6d0f000)

libXext.so.6 => /usr/lib/libXext.so.6 (0xb63b3000)
libX11.so.6 => /opt/VirtualBox/libX11.so.6 (0xb6297000)

libX11-xcb.so.1 => /opt/VirtualBox/libX11-xcb.so.1 (0xb4c51000)


1. legacy libraries
tux@slitaz:~$ ls -l /opt/VirtualBox/lib[Xx]*
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libX11.so.6 -> /opt/VirtualBox/legacy/libX11.so.6
lrwxrwxrwx    1 root     root            38 Jan 15 06:59 /opt/VirtualBox/libX11-xcb.so.1 -> /opt/VirtualBox/legacy/libX11-xcb.so.1
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libxcb.so.1 -> /opt/VirtualBox/legacy/libxcb.so.1                      

tux@slitaz:~$ ls -l /opt/VirtualBox/legacy/
total 1240
-rwxr-xr-x    1 root     root       1156136 Aug  9  2016 libX11.so.6
-rwxr-xr-x    1 root     root          2852 Aug  9  2016 libX11-xcb.so.1
-rwxr-xr-x    1 root     root        105704 Aug  9  2016 libxcb.so.1


2. delete link
tux@slitaz:~$ sudo rm -f /opt/VirtualBox/lib[Xx]*


3. link xorg libraries
tux@slitaz:~$ sudo ln -s /usr/lib/libX11.so.6.3.0 /opt/VirtualBox/libX11.so.6
tux@slitaz:~$ sudo ln -s /usr/lib/libX11-xcb.so.1.0.0 /opt/VirtualBox/libX11-xcb.so.1
tux@slitaz:~$ sudo ln -s /usr/lib/libxcb.so.1.1.0 /opt/VirtualBox/libxcb.so.1

tux@slitaz:~$ ls -l /opt/VirtualBox/lib[xX]*
lrwxrwxrwx    1 root     root            24 Jan 15 07:11 /opt/VirtualBox/libX11.so.6 -> /usr/lib/libX11.so.6.3.0
lrwxrwxrwx    1 root     root            28 Jan 15 07:12 /opt/VirtualBox/libX11-xcb.so.1 -> /usr/lib/libX11-xcb.so.1.0.0
lrwxrwxrwx    1 root     root            24 Jan 15 07:13 /opt/VirtualBox/libxcb.so.1 -> /usr/lib/libxcb.so.1.1.0
tux@slitaz:~$


4. that's it.