/usr/bin/ld: cannot find -lGL while compiling?
Posted: 07 Nov 2011, 14:36
I am having a really strange issue compiling spring (83.0) on debian squeeze. About a week ago I was having some difficulties with openGL libraries but that is now fixed.
While spring is compiling it gets to about 73% and says:
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [spring-multithreaded] Error 1
make[1]: *** [rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/all] Error 2
make: *** [all] Error 2
http://pastebin.com/jmvWPntn
I have ran sudo apt-get build-dep spring
as far as I know all dependencies are satisfied
any ideas what I should try next?
While spring is compiling it gets to about 73% and says:
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [spring-multithreaded] Error 1
make[1]: *** [rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/all] Error 2
make: *** [all] Error 2
http://pastebin.com/jmvWPntn
I have ran sudo apt-get build-dep spring
as far as I know all dependencies are satisfied
any ideas what I should try next?