Well, I think I really messed things up :) While trying to build the NumPy Python math module with Intel's Math Kernel Library (MKL), I was running into some problems with the Accelerate and vecLib frameworks overriding the MKL. At any rate, I decided it would be a good idea to rename
/System/Library/Frameworks/vecLib.framework temporarily. Nothing happened after moving
Accelerate.framework. However, after entering
sudo mv vecLib.framework/ vecLib.framework.old
I got the following error:
sudo: unable to initialize PAM: No such file or directory
Oops. Unfortunately, the
mv command worked, but now when I try to use
sudo I get the same error, but the commands don't work. When I tried to rename
vecLib through Finder, I get:
The operation can’t be completed. An unexpected error occurred (error code -8076).
which apparently is some sort of permissions error.
So, my question is how can I get
sudo working again? App Store.app won't even run, so I can't reinstall XCode (which is apparently where
vecLib.framework comes from) or anything else. I'm afraid to reboot because I'm worried the computer will hang, whereas (as you can tell) at least it's working for now, albeit without any elevated permissions capabilities.
BTW, I'm running 10.8.3.