jw3525 Tux's lil' helper
Joined: 17 Apr 2003 Posts: 114 Location: Moscow, ID
|
Posted: Sat Nov 22, 2003 5:50 am Post subject: cannot find -lqt-mt (Please Read) |
|
|
I am trying to compile kportage and I get an error in the config. I look at the config log and it says:
Quote: |
configure:22842: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/qt/3/lib64 -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
configure:22845: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030100)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:22885: error: Qt (>= Qt 3.1 (20021021)) (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 have qt/3 installed in my machine and the libraries seem fine.
Here is my ldconfig -v | grep qt output
Quote: |
libqthreads.so.0 -> libqthreads.so.0.0.1
libqthreads.so.12 -> libqthreads.so.12.3.0
/usr/qt/3/lib:
libqt-mt.so.3 -> libqt-mt.so.3.2.2
libqtmcop.so.1 -> libqtmcop.so.1.0.0
|
Looks to me like that libqt-mt is there?
Anyone know what is the deal here? |
|