Package: xlibmesa-gl-dev Version: 6.8.2.dfsg.1-8 Severity: grave Tags: patch Justification: renders package unusable
I tried to compile lesson02 from the NeHe OpenGL Tutorial (SDL GLX variant): $ make gcc -Wall -ansi lesson02.c -o lesson02 `sdl-config --cflags --libs` -lGL -lGLU /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status Looking closer at the problem: gcc -Wall -ansi lesson02.c -o lesson02 -Wl,--verbose `sdl-config --cflags --libs` -lGL -lGLU attempt to open /usr/lib/libGL.so failed attempt to open /usr/lib/libGL.a failed attempt to open /usr/lib/gcc/i486-linux-gnu/4.0.2/libGL.so failed attempt to open /usr/lib/gcc/i486-linux-gnu/4.0.2/libGL.a failed attempt to open /usr/lib/gcc/i486-linux-gnu/4.0.2/libGL.so failed attempt to open /usr/lib/gcc/i486-linux-gnu/4.0.2/libGL.a failed d attempt to open /usr/lib/gcc/i4/usr/bin/ld: cannot find -lGL GNU ld obviously expects from a shared object that a filename ending with '.so' is provided, without version information. Often, this is a symlink. Here is what I have done to fix the problem: $ su # cd /usr/lib # ln -s libGL.so.1 libGL.so # ldconfig It should be possible to compile OpenGL programs out of the box, even if the patch above is simple. Andre Heynatz -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13.2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages xlibmesa-gl-dev depends on: ii libc6-dev [libc-dev] 2.3.5-6 GNU C Library: Development Librari ii libx11-dev 6.8.2.dfsg.1-8 X Window System protocol client li ii libxext-dev 6.8.2.dfsg.1-8 X Window System miscellaneous exte ii x-dev 6.8.2.dfsg.1-8 X protocol development files ii xlibmesa-gl 6.8.2.dfsg.1-8 Mesa 3D graphics library [X.Org] xlibmesa-gl-dev recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]