On 10/12/05, sargon
I am trying to compile some KDE apps after installing v10. I installed the 64-bit version. I am running into errors when I try to compile, and the error doesn't make sense.
My .bashrc has these variablse set:
QTDIR=/usr/lib64/qt3 LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH PATH=$PATH:$QTDIR/bin export PATH LD_LIBRARY_PATH QTDIR
QMAKESPEC=$QTDIR/mkspecs/linux-g++ export QMAKESPEC
I receive this error when I compile:
checking for Qt... configure: error: Qt (>= Qt 3.0.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!
I check the log, and I see this:
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lqt-mt
Can anyone explain why the error shows the wrong directory for the QT libraries?
Thanks in advance.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Try this out. After some experimentation, this got me past ./configure on a program I'm trying to install on the same basic set-up as you have. ./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib/qt3 --with-qt-libraries=/usr/lib/qt3/lib64 --enable-libsuffix=64 Copy and paste that (I sure as hell don't type it every time) and I think you will be very pleased. --andy