<---- template headericclude ----->
Cant find -lqt to build kernel : because its 64 bit?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    thewade Guest

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

    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

  2. #2
    Join Date
    Aug 2004
    Posts
    4,174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A message here:
    http://lists.trolltech.com/qt-intere...ad00136-0.html
    says that when libqt is compiled with the "multithread" option, you get libqt-mt.
    "Never let the task you are trying to accomplish distract you from the study of computers."

  3. #3
    maahmad66 Guest
    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

Similar Threads

  1. Can't find kernel build files (re: make install)
    By Milkrunner in forum Using Fedora
    Replies: 5
    Last Post: 29th August 2007, 02:54 PM
  2. Can't find kernel build files in ....
    By bodej in forum Hardware
    Replies: 1
    Last Post: 24th April 2007, 06:30 PM
  3. ndiswrapper: can't find kernel build files
    By sn0wf0x in forum Servers & Networking
    Replies: 4
    Last Post: 22nd September 2006, 12:36 AM
  4. Replies: 3
    Last Post: 23rd April 2006, 07:13 AM
  5. Easiest way to find/build kernel module
    By tfindlay in forum Using Fedora
    Replies: 5
    Last Post: 18th July 2005, 11:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]