glut + hamm = Failure
Hi:
I have a mostly-hamm debian system with the latest gcc, glutg3, lesstif,
etc.
Recently I have tried to compile some of the example programs from
the book "OpenGL for X" and found a problem. Typically, a session goes
like this:
gcc -o dials dials.c -L/usr/X11R6/lib -lGLU -lGL -lXmu -lXi -l Xext\
-l X11 -lm
(taken almost verbatim from the Makefile included with the example)
OUTPUT is:
ld: warning: libc.so.5, needed by /usr/lib/libc5-compat/libXt.so.6
may conflict with libc.so.6
/usr/lib/libc/so.5: the 'getwd' function is dangerous and should not be
used
...........
/usr/lib/libc5-compat/libXt.so.6: undefined reference to '_Xsetlocale'
My question is this: why is it trying to link with libc5 instead of
libc6?
I have (as far as I can tell) a perfectly plain vanilla hamm
installation;
shouldn't it know to look for (for example) libXt.so.6 in /usr/X11R6/lib
instead of the libc5-compat version? What am I doing wrong here?
TIA
Sherm Ostrowsky
--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@debian.org .
Reply to: