Repairing broken symbolic link

A symbolic link may become broken due to updating/compiling/installing software, showing up as red text in ls Terminal.

Suppose the broken link is named, here’s how to fix it.

  1. find where link pointed to:

    readlink -v
  2. Point link to new file (perhaps

    ln -sfn
  3. verify new link is blue color