Rerunning ldconfig did not result in any extra libraries being added to
the list (so the important ones are still missing).

I dug around in /etc/ld.so.conf.d/ and /etc/alternatives/ and found that

lrwxrwxrwx 1 root root 25 2011-10-04 18:15 /etc/alternatives/x86_64
-linux-gnu_gl_conf -> /usr/lib/fglrx/ld.so.conf

except that that file doesn't exist! I recently uninstalled the fglrx
proprietary drivers, and it left this symlink behind.

I repointed it to the correct location with:

$ sudo rm /etc/alternatives/x86_64-linux-gnu_gl_conf 
$ sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf 
/etc/alternatives/x86_64-linux-gnu_gl_conf 
$ ls -l /etc/alternatives/x86_64-linux-gnu_gl_conf 
lrwxrwxrwx 1 root root 41 2011-10-04 20:40 
/etc/alternatives/x86_64-linux-gnu_gl_conf -> 
/usr/lib/x86_64-linux-gnu/mesa/ld.so.conf

and now ldconfig picks up the correct library.

About to reboot and see if the problem is fixed!

** Also affects: fglrx
   Importance: Undecided
       Status: New

** Changed in: fglrx
       Status: New => Confirmed

** Changed in: unity (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: unity
       Status: New => Invalid

** Summary changed:

- Unity shell crashes on login
+ Uninstalling fglrx leaves bad ldconfig behind

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/851864

Title:
  Uninstalling fglrx leaves bad ldconfig behind

To manage notifications about this bug go to:
https://bugs.launchpad.net/fglrx/+bug/851864/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to