Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - IAmCorbin

Pages: [1]
1
General / Make install did not install correctly
« on: January 28, 2012, 03:15:16 pm »
I'm having this same problem,

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!  :D

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"

2
General / Problems with building SFML 2.0 on Debian Sid
« on: January 28, 2012, 02:32:20 pm »
I am experiencing the same problem:
Code: [Select]
[ 18%] Built target sfml-system
make[2]: *** No rule to make target `/usr/lib/libGL.so', needed by `lib/libsfml-window.so.2.0'.  Stop.
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
make: *** [all] Error 2


checking files:
Code: [Select]

$ file libGL.so
libGL.so: broken symbolic link to `mesa/libGL.so'
$ file mesa/libGL.so
mesa/libGL.so: broken symbolic link to `libGL.so.1'
$ file libGL.so.1
libGL.so.1: symbolic link to `libGL.so.285.05.09'
$ file libGL.so.285.05.09
libGL.so.285.05.09: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped


deleting and recreating the /usr/lib/mesa/libGL.so symbolic link fixed the problem. I just finished building.  :D

Pages: [1]