Building problems with unux 1.2.2

Report bugs, bug fixes and workarounds here.
Topic author
Me

Building problems with unux 1.2.2

Post #1by Me » 31.03.2002, 18:13

Hi,

I'm building celestia unix version 1.2.2. but:

checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for GL/glut.h... yes
checking for glutKeyboardUpFunc in -lglut... no
configure: error: GLUT library version >= 3.7 not found

It find the glut header file but not the library file.

If i do this:

# ldconfig -v | grep glut
libglut.so.3 -> libglut.so.3.7.0

# ls -l /usr/X11/lib | grep glut
lrwxrwxrwx 1 root root 16 Mar 31 19:53 libglut.so.3 -> libglut.so.3.7.0*
-rwxr-xr-x 1 root root 306038 Mar 10 17:41 libglut.so.3.7.0*

Bye!

Metoo

Eureka!!!

Post #2by Metoo » 01.04.2002, 01:38

I made 3 changes in the configure script:

line 4090: LIBS="-lglut -lXmu -Xt -Xi $LIBS"

line 4124: LIBS="-lglut -lXmu -lXt -Xi $LIBS"

line 4139: LIBS="-ljpeg -lXmu $LIBS"

line 4188: LIBS="-lpng -lXmu $LIBS"

And more changes, we need to do another link to libglut in order to ld find glut

cd /usr/X11R6/lib; ln -s libglut.so.3.7.0 libglut.so; ldconfig

It works :)


Return to “Bugs”