Bug 238728

Summary: Compile problems with libqt-mt.so.3.3.6
Product: Red Hat Enterprise Linux 5 Reporter: Greg Harber <gth>
Component: qtAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0Keywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-23 15:35:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
compile attempt on kmovisto
none
compile attempt on xdrawchem none

Description Greg Harber 2007-05-02 16:43:26 UTC
Description of problem:
Cannot compile third party applications that depend on qt-mt library

Version-Release number of selected component (if applicable):

qt-3.3.6.20.el5

How reproducible:
I have tried to build three different applications, all have failed

Steps to Reproduce:
1. export QTDIR=/usr/lib/qt-3.3
   export PKG_CONFIG_PATH=/usr/lib/pkgconfig
2. [root@localhost kmovisto-0.7.0]# ./configure --with-qt-dir=/usr/lib/qt-3.3
--with-qt-includes=/usr/lib/qt-3.3/include/ --with-qt-libs=/usr/lib/qt-3.3/lib/
3. 

  
Actual results:
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (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!

Another app makes it through .configure but fails in make with:

/usr/bin/ld: skipping incompatible /usr/lib/qt-3.3/lib/libqt-mt.so when
searching for -lqt-mt

Expected results:


Additional info:

Comment 1 Than Ngo 2007-05-02 16:58:39 UTC
the variables are wrong. Why don't you define the variables? it's not needed.
just use  source /etc/profile.d/qt.sh, it will do for you. 


Comment 2 Greg Harber 2007-05-02 18:37:26 UTC
Created attachment 153971 [details]
compile attempt on kmovisto

Comment 3 Greg Harber 2007-05-02 18:39:10 UTC
Created attachment 153972 [details]
compile attempt on xdrawchem

Comment 4 Greg Harber 2007-05-02 18:40:01 UTC
If only it was so easy.  I have attached compile records from two applications
dependant on qt-mt

Comment 5 Than Ngo 2007-10-23 15:35:23 UTC
i have take a look at the compile logfile, you are compiling it for x86_64.

please try following, it should work for you.

unset QTDIR
source /etc/profile.d/qt.sh