LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem compiling qt (https://www.linuxquestions.org/questions/linux-software-2/problem-compiling-qt-48827/)

qanopus 03-08-2003 05:16 AM

problem compiling qt
 
Hi guy's. I want to install the newest kde desktop (3.1) So I downloaded konstruct, cd'd in to meta/kde and did "make install". This dowloaded some tar ball's and compiled it. But when it came to qt 3.1, the compilation came down with the error "/usr/bin/ld: cannot find -lGLU". I'm suspecting it has to do with the linker.
Does any one know why i'm getting this error? Is there somthing wrong with ld, do I need to set some enviroment variables?

Currently i'm using kde 3.0.5a with qt version 3.0.5. This is the output of "ld -v" :

sohail@linux:~$ ld -v
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux

Thanks in advance.

Mara 03-08-2003 11:21 AM

Do you have Mesa installed? It looks you don't have libGLU. It's part of Mesa package.

qanopus 03-08-2003 01:58 PM

Thanks for your responce.
I figuerd that out my self a while ago. I installed libGLU and it worked like a charm after that.
Don't you think "cannot find -lGLU" is a little criptic error message? I do. I googled on this message but instead of getting exact hits, google gave me "/usr/bin/ld: cannot find -l[X]". It tured out that that error comes up when a library lib[X] isn't installed on you system So I looked if there was a library called libGLU, and there was.
By the way, I don't understand why kde need somthing from Mesa?

Mara 03-08-2003 02:09 PM

OpenGL support. I think you can use qt without it, but it requires extra configure options.


All times are GMT -5. The time now is 05:46 AM.