I'm a first-time poster and fairly new to Gentoo, so please excuse my ignorance.
I'm running 4.9.95 x86_64 with KDE5 and have had a rock-solid system for a while now. Today I was in search of a UML designer and downloaded BOUML 7.7.1 which stupidly I proceeded to unpack in /usr/bin/ instead of something like ~/usr/local/
Upon trying to launch the application, it complained of a missing Qt3 library, which was present on the system, so I ran ldconfig.
Shortly thereafter, I noticed that I couldn't invoke any programs, like urxvt. I rebooted and now I can't start KDE either. Startx complains that kstartupconfig5 does not exist or fails. The error code is 127.
This missing library problem extends to portage as well.kstartupconfig5: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory.
xinit: connection to X server lost.
Code: Select all
$ whereis emerge
emerge: /usr/bin/emerge /usr/share/man/man1/emerge.1.bz2
#env-update -h
-su: env-update: command not found
#emerge
-su: emerge: command not found
Any guidance, wisdom, etc. is greatly appreciated. Thank you all in advance for your time and patience.
P.S. The filesystem is clean according to fsck.



