I don't really understand where does that "libsfml-window.so.2" string come from. The file is 100% fully fledget .so shared library, not a symlink. Maybe it tries to follow default system (env) path instead of checking local lib dir. :-(