LoneLizard
Registered
Hi,
I use the command line a lot in OS X (running Snow Leopard, 10.6.8) and for some reason or other now, I cannot run simple commands like ls or rm without putting /bin/ in front of them. This would be the output if I tried to do so:
dyld: Library not loaded: /usr/local/lib/libintl.8.dylib
Referenced from: /usr/local/bin/ls
Reason: image not found
My $PATH is a dog's breakfast:
/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/X11/bin
I've had Fink and MacPorts but I recently removed them both because they turned out to be more trouble than they were worth. This, however, might have left some damage to the $PATH variable.
What can I do to fix this? I just want to be able to use normal shell commands. How can I set the $PATH to my factory defaults and make it just plain work?
Thanks
I use the command line a lot in OS X (running Snow Leopard, 10.6.8) and for some reason or other now, I cannot run simple commands like ls or rm without putting /bin/ in front of them. This would be the output if I tried to do so:
dyld: Library not loaded: /usr/local/lib/libintl.8.dylib
Referenced from: /usr/local/bin/ls
Reason: image not found
My $PATH is a dog's breakfast:
/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/X11/bin
I've had Fink and MacPorts but I recently removed them both because they turned out to be more trouble than they were worth. This, however, might have left some damage to the $PATH variable.
What can I do to fix this? I just want to be able to use normal shell commands. How can I set the $PATH to my factory defaults and make it just plain work?
Thanks