lkml.org 
[lkml]   [2002]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [kde-linux] Can't find qt libs...
Date
On Tuesday 03 September 2002 09:48, jbradford@dial.pipex.com wrote:

Sorry this turned into the weekly fishwrap, it got long.

>> And its not just kde. I have several things that won't configure
>> because the *&%&^%$ libqt-mt.so in >= qt-3.0.2 can't be found.
>> There are 4 copies of 3.0.4 scattered about my system. Its a
>> real problem that so far everyone seems to think will go away if
>> our $QTDIR is set correctly, and/or we use the --with-qt-libs=
>> options.
>>
>> It doesn't go away no matter how much the rest of this list
>> wishes *we* would.
>
>Err, it sounds to me like you are not running ldconfig after
> installing a library. Are you?

Probably overkill, but 50+ times I'd guess, each time as I re-arranged the order of the listing in /etc/ld.so.conf, which currently looks like this:

/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/kde/lib
/usr/lib
/usr/lib/qt-2.3.1/lib
/usr/lib/qt-1.45/lib
/usr/lib/qt2/lib
/usr/local/lib
/usr/local/lib/sane
/usr/lib/qt-3.0.4/lib

Those libraries are, according to locate:
[root@coyote root]# ls -l `locate libqt-mt.so`
17 Jul 8 10:08 /usr/garnome/lib/libqt-mt.so -> libqt-mt.so.3.0.4
17 Jul 8 10:08 /usr/garnome/lib/libqt-mt.so.3 -> libqt-mt.so.3.0.4
17 Jul 8 10:08 /usr/garnome/lib/libqt-mt.so.3.0 -> libqt-mt.so.3.0.4
7317992 Jul 7 22:04 /usr/garnome/lib/libqt-mt.so.3.0.4

17 Aug 8 23:17 /usr/lib/qt-3.0.4/lib/libqt-mt.so -> libqt-mt.so.3.0.4 <-was missing
17 Aug 8 23:17 /usr/lib/qt-3.0.4/lib/libqt-mt.so.3 -> libqt-mt.so.3.0.4
17 Aug 8 23:17 /usr/lib/qt-3.0.4/lib/libqt-mt.so.3.0 -> libqt-mt.so.3.0.4
7689615 May 7 16:25 /usr/lib/qt-3.0.4/lib/libqt-mt.so.3.0.4

17 Jul 8 19:25 /usr/local/qt/lib/libqt-mt.so -> libqt-mt.so.3.0.4
17 Jul 8 19:25 /usr/local/qt/lib/libqt-mt.so.3 -> libqt-mt.so.3.0.4
17 Jul 8 19:25 /usr/local/qt/lib/libqt-mt.so.3.0 -> libqt-mt.so.3.0.4
7318821 Jul 8 19:25 /usr/local/qt/lib/libqt-mt.so.3.0.4

17 Jul 7 21:40 /usr/src/garnome-0.12.2/kde/qt-copy/work/qt-copy-3.0.4/lib/libqt-mt.so -> libqt-mt.so.3.0.4
17 Jul 7 21:40 /usr/src/garnome-0.12.2/kde/qt-copy/work/qt-copy-3.0.4/lib/libqt-mt.so.3 -> libqt-mt.so.3.0.4
17 Jul 7 21:40 /usr/src/garnome-0.12.2/kde/qt-copy/work/qt-copy-3.0.4/lib/libqt-mt.so.3.0 -> libqt-mt.so.3.0.4
7317992 Jul 7 21:40 /usr/src/garnome-0.12.2/kde/qt-copy/work/qt-copy-3.0.4/lib/libqt-mt.so.3.0.4
[root@coyote root]#

And I just rm'd the usual suspects in the mosfet-liquid src dir, reset QTDIR to the Aug 8th versions
and reran ./configure, getting this:
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!

Now, from config.log, line 9454:

configure:9454: checking for Qt
configure: 9516: /usr/lib/qt-3.0.4//include/qstyle.h
configure: 9516: /usr/lib/qt-3.0.4//qstyle.h
configure: 9516: /usr/lib/qt3/include/qstyle.h
configure: 9516: /usr/lib/qt3/qstyle.h
configure: 9516: /usr/lib/qt/include/qstyle.h
configure: 9516: /usr/lib/qt/qstyle.h
configure: 9516: /usr/local/qt/include/qstyle.h
taking that
tried NO
configure:9621: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions -fno-check-new -I/usr/local/qt/include -I. -DQT_THREAD_SUPPORT
-D_REENTRANT -L/usr/lib/qt-3.0.4//lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -l
resolv -lpthread 1>&5
In file included from /usr/local/qt/include/qmime.h:43,
from /usr/local/qt/include/qevent.h:45,
from /usr/local/qt/include/qobject.h:45,
from /usr/local/qt/include/qwidget.h:43,
from /usr/local/qt/include/qdesktopwidget.h:42,
from /usr/local/qt/include/qapplication.h:42,
from conftest.cc:3:
/usr/local/qt/include/qmap.h:49:20: iterator: No such file or directory

This report goes on for another 1000 or more lines
each one naming a different include.

It appears the real problem might be the includes, as in a
qt2 or older (1.45) version lives at /usr/local/qt/include

But, I just mv'd that /usr/local/qt dir to qt-orig, and made a link from qt to
/usr/lib/qt-3.0.4 and it fails for not finding anything qt related then.

Then i did a locate on 4/include/q and linked /usr/local/qt to that.
That was /usr/src/garnome-0.12.2/kde/qt-copy/work/qt-copy-3.0.4
apparently the only place valid includes lives for qt-3.0.4! In
other words, it fsking worked! ./configure actually ran.

Now I'm seeing if it will make.

Nope, half a kajillion undefined references at collect2 time.
But I didn't set $QTDIR to that .
Didn't help...

I'm going out for a haircut and a monitor for my old vintage coco3.
Maybe someplace in all this blather, is a clue, he said pleadingly.
--
Cheers John, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.13% setiathome rank, not too shabby for a WV hillbilly
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.046 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site