1
General / Make install did not install correctly
« on: January 28, 2012, 03:15:16 pm »
I'm having this same problem,
Edit:
Fixed it! Program Execution Complete!
found the answer in this thread ( http://ubuntuforums.org/showthread.php?t=420008 ), it was mentioned above, but I didn't get it :? Just had to "Add /usr/local/lib to /etc/ld.so.conf then run ldconfig"
Code: [Select]
$ ./a.out
./a.out: error while loading shared libraries: libsfml-system.so.2: cannot open shared object file: No such file or directory
Code: [Select]
$ find /usr/local/lib -name *sfml*
/usr/local/lib/libsfml-network.so.2.0
/usr/local/lib/libsfml-network.so.2
/usr/local/lib/libsfml-window.so
/usr/local/lib/libsfml-window.so.2.0
/usr/local/lib/libsfml-window.so.2
/usr/local/lib/libsfml-audio.so.2.0
/usr/local/lib/libsfml-system.so.2
/usr/local/lib/libsfml-system.so
/usr/local/lib/libsfml-audio.so.2
/usr/local/lib/libsfml-system.so.2.0
/usr/local/lib/libsfml-audio.so
/usr/local/lib/libsfml-graphics.so.2
/usr/local/lib/libsfml-graphics.so.2.0
/usr/local/lib/pkgconfig/sfml-system.pc
/usr/local/lib/pkgconfig/sfml-graphics.pc
/usr/local/lib/pkgconfig/sfml-network.pc
/usr/local/lib/pkgconfig/sfml-all.pc
/usr/local/lib/pkgconfig/sfml-audio.pc
/usr/local/lib/pkgconfig/sfml-window.pc
/usr/local/lib/libsfml-graphics.so
/usr/local/lib/libsfml-network.so
Edit:
Fixed it! Program Execution Complete!
found the answer in this thread ( http://ubuntuforums.org/showthread.php?t=420008 ), it was mentioned above, but I didn't get it :? Just had to "Add /usr/local/lib to /etc/ld.so.conf then run ldconfig"