littlefish
11-21-02, 04:47 PM
Hello everyone!
you can asssume me with zero knowledge of Linux and ld, but people here seems very nice :) so I hope maybe someone can give some hints here.
I have just installed Debian 3.0, which included a deb package of Nvidia 1.2880 drivers. I have got a GForce2 MX400 in hoping to work on some openGL programs.
so I tried to compile a small program that uses lib GL and GLU. The strange thing happened after several unsuccessful compile with errors complaining undefined reference(or something like that) with gl, it started giving errors from /usr/bin/ld that lGL/ lGLU not found!
I checked ldconfig -v, and both libGL/libGLU are listed and both libraries exists in /usr/X11R6/lib.
so questions:
when I checked against installed comonents, I couldn't even find the NVdriver anywhere, so I wonder maybe the installed libGL are not really functional? lsmod doesn't give anything related to nvidia driver either. but oh well, TuxRacer plays, and it's cool!
and why at first it didn't complain about -lGL not found,( I think it found the libraries, but they maybe not compatible), and suddenly ld complains of -lGL not found?
I tried to install the new nvidia drivers, 1.3123 after re-building linux kernel(2.4.18.5), and then ld still complains about GLU not found.
so I guess the problem is with ld somehow, so what is wrong here?
Thanks for any input!
you can asssume me with zero knowledge of Linux and ld, but people here seems very nice :) so I hope maybe someone can give some hints here.
I have just installed Debian 3.0, which included a deb package of Nvidia 1.2880 drivers. I have got a GForce2 MX400 in hoping to work on some openGL programs.
so I tried to compile a small program that uses lib GL and GLU. The strange thing happened after several unsuccessful compile with errors complaining undefined reference(or something like that) with gl, it started giving errors from /usr/bin/ld that lGL/ lGLU not found!
I checked ldconfig -v, and both libGL/libGLU are listed and both libraries exists in /usr/X11R6/lib.
so questions:
when I checked against installed comonents, I couldn't even find the NVdriver anywhere, so I wonder maybe the installed libGL are not really functional? lsmod doesn't give anything related to nvidia driver either. but oh well, TuxRacer plays, and it's cool!
and why at first it didn't complain about -lGL not found,( I think it found the libraries, but they maybe not compatible), and suddenly ld complains of -lGL not found?
I tried to install the new nvidia drivers, 1.3123 after re-building linux kernel(2.4.18.5), and then ld still complains about GLU not found.
so I guess the problem is with ld somehow, so what is wrong here?
Thanks for any input!