Public bug reported: Initial symptom: Various applications (Firefox, gnome-terminal, other GTK3 apps) crash immediately on startup in a standalone VNC session (for example using a vnc4server session). An strace revealed that libepoxy tries to load libGLX_indrect.so.0 and fails, but then crashes due to a different bug (https://bugs.launchpad.net/ubuntu/+source/libepoxy/+bug/1574886). However, even if that bug were fixed, the inability to find libGLX_indirect.so.0 is still a problem.
I did some digging and debugging on ldconfig, and found that: * Although /usr/lib/nvidia-375 is in the ld.so.conf search path, libGLX_indirect.so.0 is still not getting indexed. * libGLX_indirect.so.0 is a symlink to libGLX_nvidia.so.375.39 * libGLX_nvidia.so.375.39 has an SONAME of libGLX_nvidia.so.0 * If I read the ldconfig code correctly, it appears that it indexes based on the SONAME as well as the file name, and uses what it consideres to be the "latest version" of the link. Since "libGLX_n..." string compares higher than "libGLX_i...", the "libGLX_indirect.so.0" symlink is skipped, and only libGLX_nvidia.so.* is cached. Additional information: * OS: Ubuntu 16.04.2 LTS x86_64 * Relevant packages: nvidia-375-375.39-0ubuntu0.16.04.1, libc-bin-2.23-0ubuntu7, libepoxy0-1.3.1-1, vnc4server-4.1.1+xorg4.3.0-37.3ubuntu2 * Adding a symlink or setting LD_LIBRARY_PATH as suggested in https://bugs.launchpad.net/ubuntu/+bug/1570950 does work around the problem, but I believe that's only because it bypasses ld.so.cache, and isn't really a clean solution. ** Affects: nvidia-graphics-drivers-375 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1676980 Title: libGLX_indirect.so.0 not indexed by ldconfig To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-375/+bug/1676980/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs