0 Members and 2 Guests are viewing this topic.
Check if it's listed on 'ldconfig -p'. If it's not try running 'ldconfig' as root.
export LD_LIBRARY_PATH=<sfml-install-path>/lib && ./sfml-app
In the long run, adding the install location to ld.so.conf and running ldconfig once and for all is simpler.Or set the correct rpath in the app when you build it.
Following this guide for linux, http://www.sfml-dev.org/tutorials/2.3/start-linux.php, is what you need to do. Compiling and installing with cmake on linux installs SFML to /usr/local in a couple of directories. Do thisQuoteexport LD_LIBRARY_PATH=<sfml-install-path>/lib && ./sfml-app as per the above tutorial and you should be fixed. Change ./sfml-app to your app name.