Advertisement

dude wheres my GLU?

Started by April 20, 2002 11:04 PM
1 comment, last by barazor 22 years, 9 months ago
i reinstalled slack 8 recently, and when i try to compile a program using openGL, it gives me a linker error, saying it cant find -lGLU anybody know where i can get a replacement library for linux? [edit]would these libs possibly be in a newer version of GLIBC?[/edit] [edited by - barazor on April 20, 2002 12:10:06 AM]
I had this problem when I was using Slackware too. You have GLU, it's just in an unlisted directory. Add the directory libGLU.so is in to /etc/ld.so.conf. Or, you can try just making a symlink from /usr/lib/libGLU.so to where ever the GLU library actually is (/usr/X11R6/lib/libGLU.so or something). If that doesn't work (for some reason) use the full path (to the .so or .a) to link the library instead of -lGLU.



[edited by - Null and Void on April 20, 2002 12:27:21 AM]
Advertisement
thanks for the help, it was already in ld.so.conf, so linking it with the full path worked

This topic is closed to new replies.

Advertisement