hi,
I build gcc 9.2 from source and installed into /usr/local in Ubuntu 19.10. After that I am no longer able to log in using unity-desktop. After log-in an error message flashes up, too fast to see then it returns to the login screen. I am able to log into gnome desktop, however.
I tried to repair it with the following steps:
Code:
sudo dpkg -r mygccbuild
sudo rm -rf /usr/local/bin/gcc
sudo rm -rf /usr/local/lib/gcc
then reinstalled with
Code:
sudo apt install --reinstall gcc
sudo apt install --reinstall ubuntu-unity-desktop
after a restart, this resolved apport-gtk from crashing. Everything behaves normal, no errors or buggy behaviour but again, logging into unity is still failing.
any ideas what else I can try? Also I thought I'd be fine installing gcc into /usr/local, why is it interfering with system environment?