# Link error (gluLookAt,, gluPerpeective)

**URL:** <https://discourse.glfw.org/t/link-error-glulookat-gluperpeective/413>\
**Category:** support\
**Created:** [February 20, 2007, 11:56am UTC](https://discourse.glfw.org/t/link-error-glulookat-gluperpeective/413 "2007-02-20T11:56:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [February 20, 2007, 11:56am UTC](https://discourse.glfw.org/t/link-error-glulookat-gluperpeective/413/1 "2007-02-20T11:56:48Z")

</div>

**nobody** wrote on [Tuesday, February 20, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/e3f18a85/#2b9e):

Hi,

I have tried to compile GLFW and the test programs (version 2.5). Under Win32 it is OK, but under Linux the linker cannot find gluLookAt and gluPerpective in the GLU library. The build command is the following:

gcc -o test test.c -L./ libglfw.a -L/usr/X11/lib -lGLU -lGL … (more X11 libs)

The GLFW library is in the same directory as the Makefile. AFAIK this should work. GLUT and its test programs (which also use the GLU library) compiled and ran w/o error when using a similar command. I use Zenwalk Linux (a Slackware clone) with kernel 2.6.16.16.

I would appreciate advice on how to solve this problem.

Thanks!

Laszlo Menczel  
Szeged, Hungary

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 10, 2007, 1:15am UTC](https://discourse.glfw.org/t/link-error-glulookat-gluperpeective/413/2 "2007-03-10T01:15:54Z")

</div>

**[elmindreda](https://sourceforge.net/u/elmindreda/)** wrote on [Saturday, March 10, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/e3f18a85/#2b9e/e351):

No idea without more information. Exact commands and output would be helpful.
