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
2
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
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
4
yes there is something you can do: copy this file to where it should be which is /usr/lib.
Jan
system
Closed
5
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.