Hello,
I'm trying to use SFML on my school's linux system, which I have no root access (I believe that we use red hat with the AFS file system, if it's of any help). Presently I have all my added libraries files in ~/libs, and I use the command
g++ main.o -o sfml-app -L$HOME/libs/lib -lsfml-graphics -lsfml-window -lsfml-system -W1,-rpath=$HOME/libs/lib (I also use -rpath-rink to no avail)
in an attempt to compile my program. However, my system doesn't even have libGLEW installed, so I popped that into my ~/libs folder aswell. Reguardless I get the error
warning: libGLEW.so.1.5, needed by /afs/<Home dir>/libs/lib/libsfml-graphics.so, not found (try using -rpath or -rpath-link)
(Note that I added the <Home Dir>, it used to say the correct directory.)
I have libGLEW.so.1.5 is the same directory as libsfml; however it's not finding it (A simple ls command confirms that it's there.
Does anyone have any suggestions to fix this problem?