error while loading shared libraries: libsfml-graphics.so.2.2.0: cannot open shared object file: No such file or directory
This is probably the quintillionth time I've run into this error with SFML. This error oddly only occurs when running the executable, rather than during compilation. I don't know what is causing the error (apart from the program not finding the file), since it worked like a charm before I reinstalled Ubuntu. I've tried
sudo ldconfig and I have used
sudo apt-get install libsfml-dev, but I don't link SFML using it, but from an extracted archive.