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:
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.
Created attachment 153971 [details] compile attempt on kmovisto
Created attachment 153972 [details] compile attempt on xdrawchem
If only it was so easy. I have attached compile records from two applications dependant on qt-mt
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