Jul 162008

In openSUSE or SUSE Linux 64 bit installations on supported AMD / Intel hardware, sometimes when installing a software from source and running the configure script, you may end up with the error:

checking for Qt… configure: error: Qt (>= Qt 3.0) (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!

This error can occur when you run configure for KDE based programs on AMD 64bit or Intel 64 Bit installation of SUSE linux or openSUSE (11.0 or 10.x). The problem is caused by the configure scripts not being able to find the libraries. To resolve the problem try the following:

Change directory to Qt3 64 bit libraries and create a Symbolic link as follows:

opensuse11:~ # cd /usr/lib64/qt3
opensuse11:~ # ln -s lib lib64

Now run the configure script as follows with any other additional arguements (if any). Here, I’m running the configure script for KWirelessMonitor from its source directory

opensuse11:~ # cd kwirelessmonitor-0.5.91/
opensuse11:~/software/kwirelessmonitor-0.5.91 #  ./configure –enable-libsuffix=64

This should run the configure script without any problem.