|07-05-03, 02:41 PM||#1|
Join Date: Jul 2003
Redhat 9 compile Flightgears Glut Error
I've a problem with compiling flightgears which need glut libarys. I know that the glut libarys with Redhat 9 (glut-3.7-12) don't work together with third party nvidia driver. I've deletet the original glut rpm's and compiled successfully the mesa glut. Then ldconfig to link the new libary's. But the same error while compiling:
checking for glutGetModifiers in -lfreeglut... no
checking for glutGetModifiers in -lglut... no
configure: error: could not find working GLUT library
What I've done wrong??
Thanks for every answer...
|07-05-03, 07:57 PM||#2|
Join Date: Sep 2002
What did you use for a --prefix= when you compiled glut?
If you didn't use anything, then it put itself into /usr/local/lib, which RedHat (for some reason known only to them...) doesn't have listed in /etc/ld.so.conf. So even after you ran ldconfig, it still didn't pick up the libraries, because it wasn't looking in /usr/local/lib (only /usr/lib and /lib).
Either add /usr/local/lib to /etc/ld.so.conf and rerun ldconfig, or pass --prefix=/usr to the glut ./configure script. Or if it doesn't have a configure script, then edit its Makefile so that it installs libglut into /usr/lib.
If none of this seems to apply, then look in config.log in the FlightGear directory. It will have logged the reason that linking failed into that file.
Registered Linux User #219692
|Thread||Thread Starter||Forum||Replies||Last Post|
|Regression with 295.33 and GeForce GT 240||maro||NVIDIA Linux||16||06-29-12 06:47 PM|
|295.40 295 cannot be compiled on 3.2 kernel||delta32||NVIDIA Linux||4||05-27-12 09:47 PM|
|Mandrake 9 and nVidia drivers||HunterA3||NVIDIA Linux||9||10-09-02 02:54 AM|
|Redhat 8.0, no rpm, can't compile.||Ironphil||NVIDIA Linux||6||10-02-02 03:13 PM|
|Mandrake 8.2 Nvidia src.rpm problems||Mr_Malcontent||NVIDIA Linux||8||09-11-02 09:53 PM|