#1 Mesa/GL libraries not found

closed-out-of-date
nobody
None
5
2003-11-11
2003-01-14
Anonymous
No

I tried to configure celestia under RedHat 7.3, and the
configure program complains it can't find Mesa/GL.
I've installed just about every rpm that looks like it
might be relevant and I've run out of ideas. Any help
you can give would be greatly appreciated. The
relevant portion of config.log reads:

configure:28755: checking for glNewList in -lGL
configure:28788: gcc -o conftest -Wall -Wunused -O2
-Wall -ffast-math -fexpensive-optimizations
-fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -rdynamic -L/usr/lib
-L/usr/X11R6/lib conftest.c -lGL -lm -lSM -lICE
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnome
-lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
-rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE
-lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome
-lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
-lgtkgl >&5
/usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
configure:28791: $? = 1

and then

configure:28808: result: no
configure:28822: checking for glNewList in -lMesaGL
configure:28855: gcc -o conftest -Wall -Wunused -O2
-Wall -ffast-math -fexpensive-optimizations
-fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -rdynamic -L/usr/lib
-L/usr/X11R6/lib conftest.c -lMesaGL -lm -lSM -lICE
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnome
-lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
-rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE
-lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome
-lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
-lgtkgl >&5
/usr/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure:28858: $? = 1

However, if I look in /usr/X11R6/lib/ and /usr/lib I
clearly have /usr/X11R6/lib/libGL.so
/usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1.2
/usr/X11R6/lib/libOSMesa.a /usr/X11R6/lib/libOSMesa.so.3
/usr/X11R6/lib/libOSMesa.so
/usr/X11R6/lib/libOSMesa.so.3.3
/usr/lib/libdb1.so.2

Thanks for any help you can give me
Bill Atkinson
watkinson@physics.siu.edu

Discussion

  • Nobody/Anonymous

    Logged In: NO

    You should probably install RPM packages db1 and db1-devel.
    It works for me with the same distribution for
    celestia-1.2.4 in GTK mode with package gtkglarea installed
    and the following commands:

    configure --enable-gtk
    make

    I hope it helps

     
  • Nobody/Anonymous

    Logged In: NO

    I just downloaded, compiled, and installed version 1.2.5 for
    RH 7.3.

    I found libdb1 to be from the "db1" package, which you
    should be able to locate and download from rpmfind.net.

    As for libMesaGL, I don't have it on my machine either. But
    it compiled just fine. I did have to download and install
    these additional RPM files:

    glut-3.7-4.i386.rpm
    glut-devel-3.7-4.i386.rpm
    gtkglarea-1.2.2-10.i386.rpm

    Again, you should be able to find all of these at rpmfind.net.

    Good luck!

     
  • Don Goyette

    Don Goyette - 2003-11-11
    • status: open --> closed
     
  • Don Goyette

    Don Goyette - 2003-11-11
    • status: closed --> closed-out-of-date
     

Log in to post a comment.