PDA

View Full Version : Cant find -lqt to build kernel : because its 64 bit?


thewade
4th September 2004, 03:55 PM
Hello,

Ihave a AMD64 laptop and Im trying to rebuild the FC2 2.6.8 kernel but build cant find -lqt.
Is it because its 64 bit or named qt-m?

I think ld finds -lqt because if I rin ldconfig -p | grep qt I get

libqui.so.1 (libc6,x86-64) => /usr/lib64/qt-3.3/lib/libqui.so.1
libqui.so (libc6,x86-64) => /usr/lib64/qt-3.3/lib/libqui.so
libqtmcop.so.1 (libc6,x86-64) => /usr/lib64/libqtmcop.so.1
libqt-mt.so.3 (libc6,x86-64) => /usr/lib64/qt-3.3/lib/libqt-mt.so.3
libqt-mt.so (libc6,x86-64) => /usr/lib64/qt-3.3/lib/libqt-mt.so

My ld.so.conf looks like this:
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/X11R6/lib64
/usr/lib64
/usr/lib64/qt-3.3/lib

my LD_LIBRARY_PATH is
/usr/lib64/qt-3.3/lib:/usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib:$LD_LIBRARY_PATH

Ive run ldconfig with this configuration.

What should I do?
Thanks,
-thewade

tashirosgt
4th September 2004, 09:33 PM
A message here:
http://lists.trolltech.com/qt-interest/2000-11/thread00136-0.html
says that when libqt is compiled with the "multithread" option, you get libqt-mt.

maahmad66
6th April 2005, 06:46 AM

I have found a problem in the Makefile under scripts/kconfig, at least for the following version of the kernel:

2.6.10-1.770_FC3_x86_64.

Basically there is an extra space which should not be there and this is why the -lqt is not found.

Here is the way it should be:

$(HOSTCXX)-print-multi-os-directory > /dev/null 2>&1 && \
LIBPATH=$$DIR/lib/$$($(HOSTCXX)-print-multi-os-directory); \

There should be no space between the hyphen before print and the brace after X, both places above.

This fixed the problem with running make xconfig and getting the error cannot find -lqt.

Hope this helps.

MAA66