PDA

View Full Version : cannot find lgult



ronchen65
04-19-2004, 05:50 PM
This is my command line.
gcc file.c -L/home/Mesa-6.0/lib -lgulg -lGL -lGLU -lm

but it shows this error.
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status

I'm using RedHat 8.

Does there anyone know how to solve this problem?
Thanks

JanHH
04-19-2004, 06:57 PM
on my system it's

/usr/lib/libglut*, which should be the standard.

go to

http://search.rpmseek.com/search.html

and search for libglut.so.

Jan

ronchen65
04-20-2004, 12:14 AM
I already have that the file libglut.so under
/home/Mesa-6.0/lib

But it still shows that error.

Is there anything else I can do?

Thanks.

JanHH
04-20-2004, 04:08 AM
yes there is something you can do: copy this file to where it should be ;) which is /usr/lib.

Jan