A symbolic link may become broken due to updating/compiling/installing software, showing up as red text in
Suppose the broken link is named
foo.so, here’s how to fix it.
- find where link pointed to:
readlink -v foo.so
- Point link to new file (perhaps
ln -sfn foo2.so foo.so
- verify new link is blue color