when compiling several apps that need qt....for example kdebase-3.0.5 or arts (as dependency for kde3.1_rc6) i get this error during configure when checking for qt: 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 compile Qt with thread support! I have qt installed and also have the libqt-mt libraries in /usr/qt/3/lib.
Is /usr/qt/3/lib mentioned in /etc/ld.so.conf? If not, add it and run "ldconfig". Then try emerging kdebase (or other KDE-apps that failed before) again. Keep us posted.
Yes, /usr/qt/3/lib is mentioned in /etc/resolv.conf
I checked my config.log in /var/tmp/portage/kdebase-3.0.5/work and there i found this: configure:19070: checking for Qt configure: 19132: /usr/qt/3/include/qstyle.h taking that configure:19237: rm -rf SunWS_cache; g++ -o conftest -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -mcpu=pentium3 -O3 -pipe -DXFT_WITH_FONTCONFIG -DHAVE_XFT2 -fno-exceptions -fno-check-new -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/qt/3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5 /usr/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelOrder' collect2: ld returned 1 exit status configure:19240: $? = 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 >= 303) #error 1 #endif int main() { (void)QStyleFactory::create(QString::null); QCursor c(Qt::WhatsThisCursor); return 0; } configure:19279: 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! Anyone?
In comment number 2 i mentiond /etc/resolv.conf... this must be /etc/ld.so.conf
maybe your qt is linked against an old version of libXft (if you updated xft after merging qt this could had happen). is x11-libs/xft merged? which version? please also look into /var/log/emerge.log or the order of qt and xft (which was merged first)?
I
I´ve got xft-2.0.1-r1 installed.....(Before i emerged QT and i tried remerging it) By the way, i am getting almost the same error (in my config .log) when compiling GTK-2.2....
I fixed it by doing this: emerge unmerge mozilla gtk+ emerge -C pango freetype emerge gtk+ i found this solution in another bug post about the GTK2.2 problem which i also had.... but it also fixes the problem i had with my QT apps... still don
I fixed it by doing this: emerge unmerge mozilla gtk+ emerge -C pango freetype emerge gtk+ i found this solution in another bug post about the GTK2.2 problem which i also had.... but it also fixes the problem i had with my QT apps... still don´t know what caused the problem though...
you remember which freetype you had before fixing this bug?
added xft/gnome devs to cc, please take a look how this bug is fixed. please also take a look to bug #13593, which is probably the same root.
Could this still be from mozilla using it's own nonrenamed xft libs ? That would explain why a remova/reemergl of mozilla fixed the problem. What do you say az ?
*** Bug 13593 has been marked as a duplicate of this bug. ***
Possible.
Azarah & foser, I don't think you have any futher interst in this? So closing it since it's fixed for the submitter.