I'm a bit confused here, but suddenly I can't link my own project because it needs to link with libGL.so* and ld reports that it can't find it!
Code:
sean@harpuia:~/Projects/mocha/trunk/guarana$ make
g++ -nostdlibs -shared -rdynamic -Wl,-soname,libguarana.so -olibguarana.so gl_sdl_graphics_impl.o gl_texture.o guarana.o il_image.o sdl_event_queue_impl.o sdl_input_impl.o sdl_timer_impl.o -L../ -lGL -lIL -lILU -lILUT -lSDL -lSDLmain -lmocha -lgcc
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [guarana] Error 1
sean@harpuia:~/Projects/mocha/trunk/guarana$
This has never happened before, and ldconfig --print-cache shows an entry for libGL.so.1! So what's going on here? This was working a few days ago without any problems.
I'm running Ubuntu Hardy x86. Any incite is appreciated. Thanks!
Bookmarks