Comment 15 for bug 277069

Revision history for this message
Jordan Erickson (lns) wrote : Re: Java slow on remote X

It seems as though even using 'dpkg-divert' won't help in this case, as ldconfig seems to override the libX11.so.6 symlink whenever changes take place.

man dpkg-divert:
---
Care should be taken when diverting shared libraries, ldconfig(8) creates a symbolic link based on the DT_SONAME field embedded in the library. Because ldconfig doesn’t honour diverts (only dpkg does), the symlink may end up pointing at the diverted library, if a diverted library has the same SONAME as the undiverted one.
---

Anyway, I keep replacing the symlink, but it seems as though whenever I perform Ubuntu updates, the libX11.so.6 symlink reverts and points to the original file (which I renamed to libX11.so.6.2.0.orig). It's EXTREMELY frustrating, especially when administrating multiple servers that all experience this issue (7 in my case). It's not clean to replace this file all the time, either, as if people are logged onto thin clients when you replace it, they crash outright.

Could this bug report be more effective if it points to 'libx11-6' ? See below:

jerickson@Fibonacci:~$ apt-file search libX11.so.6
libx11-6: /usr/lib/libX11.so.6
libx11-6: /usr/lib/libX11.so.6.2.0

Sincerely,
Jordan/Lns