http://bugs.winehq.org/show_bug.cgi?id=14631
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-07-26 09:48:17 --- configure:11140: gcc -o conftest -g -O2 conftest.c -lGL -lXext -lX11 -lm
&5
/usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status
The compiler can't find libGL, there's something wrong with your setup. What does "ls -al /usr/lib/libGL*" look like?