LinuxQuestions.org
Help answer threads with 0 replies.
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 05-06-2004, 08:33 PM   #1
cleff
Member
 
Registered: Mar 2003
Posts: 37

Rep: Reputation: 15
configure qt thread issue (just compiled qt w/ -thread option)


Hi, I'm trying to run configure with kaudiocreator. I'm using RH 8.0. I'm got and error message like

checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

So I went out and got the qt source code from trolltech version 3.3.2. I ran
#./configure -thread
#make
#make install
then i went back and tried configure with kaudiocreator again and am still getting the same error message. What did I do wrong? Thanks.
 
Old 05-06-2004, 09:13 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Make sure that you:

1. Have your qt install dir in your /etc/ld.so.conf
2. have QTDIR set
3. Have your qt library in your LD_LIBRARY_PATH
 
Old 05-06-2004, 09:32 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Did you un-install the qt rpm that came with deadrat?


Cheers,
Tink
 
Old 05-07-2004, 01:13 AM   #4
cleff
Member
 
Registered: Mar 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Technoslave
Make sure that you:

1. Have your qt install dir in your /etc/ld.so.conf
2. have QTDIR set
3. Have your qt library in your LD_LIBRARY_PATH
Could you please elaborate a little on 2 and 3? Are these all in the /etc/ld.so.conf file?

Last edited by cleff; 05-07-2004 at 01:20 AM.
 
Old 05-07-2004, 01:14 AM   #5
cleff
Member
 
Registered: Mar 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
Did you un-install the qt rpm that came with deadrat?


Cheers,
Tink
rpm? deadrat? I don't understand.
 
Old 05-07-2004, 01:36 AM   #6
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Are you familiar with what PATH is?
 
Old 05-07-2004, 04:26 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by cleff
rpm? deadrat? I don't understand.
DeadRat=RedHat
rpm = Redhat Package Manager.

Wild guess: RH came with some version of Qt,
you installed new version, but old version gets
picked up first.



Cheers,
Tink
 
Old 05-07-2004, 08:21 PM   #8
cleff
Member
 
Registered: Mar 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Technoslave
Are you familiar with what PATH is?
Which path? like the paths that I can set in my profile so i have access to them from anywhere in console? Which file are you referring to in 2 and 3?
 
Old 05-07-2004, 11:11 PM   #9
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Yes, what you describe as a PATH is what I'm talking about.

LD_LIBRARY_PATH and QTDIR are similiar in this regard...they just mean something different.

PATH is where you locate binaries.
LD_LIBRARY_PATH is where you locate libraries.
QTDIR is where you locate your QT Install.

Things like LD_LIBRARY_PATH and QTDIR usually only come in to effect when you're compiling things.

Here are some examples of things I have set in my .bashrc for the things I do.

PATH=/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:\
/usr/sbin:/usr/local/sbin:/home/scripts:/usr/local/mysql/bin:/usr/local/qt/bin:\
/usr/local/kde/bin:/usr/local/mrtg-2/bin:.

KDEDIR=/usr/local/kde
KDEDIRS=/usr/local/kde

QTDIR=/usr/local/qt-3.3.1

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/mysql4/lib:\
/usr/local/qt/lib:/usr/local/mysql4/lib/mysql:/usr/local/ssl/lib:/usr/X11/lib:\
/usr/local/kde/lib:/usr/local/lib/gaim

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig

Once you determine that you have your pathes for things set correctly ( please don't use mine, above is nothing more than an example of how they can be set via your .bashrc ) trying recompiling and see what happens.

If you still don't understand, then I suggest that whatever you're attempting to do, find an RPM instead, until such a time as you've learned a little more.
 
  


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
[thread control suggestion] add a "solved" button that the thread starter can click atom LQ Suggestions & Feedback 3 03-24-2005 11:55 AM
Main thread sending notification to child thread rajesh_b Programming 1 09-22-2004 09:15 AM
'Last Thread' 'Next Thread' for 0 Replies and new posts darin3200 LQ Suggestions & Feedback 2 08-16-2004 01:02 PM
can a reader thread and a writer thread r/w to same fd mxandres Programming 1 07-18-2004 10:56 PM
Can a thread starter close the thread? ppuru LQ Suggestions & Feedback 3 07-26-2003 06:51 PM

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

All times are GMT -5. The time now is 12:42 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