Link to home
Start Free TrialLog in
Avatar of Dmitriy Sky
Dmitriy SkyFlag for Russian Federation

asked on

Compile problem /usr/bin/ld: cannot find -lGL

i Have a problem with compile script,

.......fpsgame/waypoint.o fpsgame/weapon.o -Lenet/.libs -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lrt
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status

make: *** [client] ¿¿¿¿¿¿ 1

it's told me that libGL can't been founded, but, i have installed all -dev packages, also have all links and librares into /usr/lib/ :

undersky@skypc:/media/Store/Games/sauerbraten/src$ ls /usr/lib | grep GL
libEGL.so.1
libEGL.so.1.0
libGLC.a
libGLC.la
libGLC.so
libGLC.so.0
libGLC.so.0.0.7
libGLESv2.so.2
libGLESv2.so.2.0.0
libGLEWmx.so.1.5
libGLEWmx.so.1.5.2
libGLEW.so.1.5
libGLEW.so.1.5.2
libGL.la
libGL.so
libGL.so.1
libGL.so.280.13
libGLU.a
libGLU.so
libGLU.so.1
libGLU.so.1.3.071000
libGLw.a
libGLw.so
libGLw.so.1
libGLw.so.1.0.0

but it's still tell me that :(

my system Ubuntu 11.04, Nvidia video card, Gnome.

btw ldconfig, and other won't help :\
ASKER CERTIFIED SOLUTION
Avatar of Dmitriy Sky
Dmitriy Sky
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dmitriy Sky

ASKER

ok solutions is not to hard, but i found that many get this problem... it's official source.. and in it they put wrong library distanation :(