rustc: error while loading shared libraries: librustc_driver

I had installed and used rust already but today I fired it up and received:

I’ve seen this before… I thought modifying LD_LIBRARY_PATH in my shell was enough, but no. According to the bug report the problem is with ldconfig.

Edit /etc/ and add /usr/local/lib to it then run ldconfig to update the cache. Now everything works again.

Not sure why it appeared again though.