LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2003, 05:16 AM   #1
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
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.
 
Old 03-08-2003, 11:21 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Do you have Mesa installed? It looks you don't have libGLU. It's part of Mesa package.
 
Old 03-08-2003, 01:58 PM   #3
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
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?
 
Old 03-08-2003, 02:09 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling javakid Programming 8 12-16-2004 12:03 AM
compiling problem ... chaks Programming 2 03-29-2004 09:14 AM
problem compiling :( celeron2002 Linux - Software 1 02-22-2004 07:19 PM
Compiling Problem... ThE_DeaD Linux - Newbie 10 12-14-2003 03:14 PM
Compiling 2.4.20 problem frankietomatoes Linux - General 1 01-09-2003 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration