Re: Where is qt3 (for x86_64)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 03 Jul 2005 01:27:49 +0100, Timothy Murphy wrote:

> Michael Schwendt wrote:
> 
> >> In fact there is no libqt.so anywhere on the system:
> > 
> > No, because only the multi-threaded Qt library libqt-mt is used.
> > 
> >> Could I use libqt-mt.so in compiling the kernel?
> > 
> > Yes, it will be found and accepted.
> 
> It does not appear to be "found":
> ===========================================
> [tim@blanche linux-2.6.12]$ make xconfig
>   HOSTLD  scripts/kconfig/qconf
> /usr/bin/ld: cannot find -lqt
> collect2: ld returned 1 exit status
> make[1]: *** [scripts/kconfig/qconf] Error 1
> make: *** [xconfig] Error 2
> ===========================================
> Why would it be found unless there was a symbolic link?

Because it attempts at finding libqt-mt.so in scripts/kconfig/Makefile :)

The problem you're seeing is that it does it incorrectly for x86_64.
Here's patch (I bet this has been reported in bugzilla somewhere
before).

--- scripts/kconfig/Makefile~   2005-03-02 08:38:33.000000000 +0100
+++ scripts/kconfig/Makefile    2005-07-03 03:04:18.000000000 +0200
@@ -128,8 +128,6 @@
          false; \
        fi; \
        LIBPATH=$$DIR/lib; LIB=qt; \
-       $(HOSTCXX) -print-multi-os-directory > /dev/null 2>&1 && \
-         LIBPATH=$$DIR/lib/$$($(HOSTCXX) -print-multi-os-directory); \
        if [ -f $$LIBPATH/libqt-mt.so ]; then LIB=qt-mt; fi; \
        echo "QTDIR=$$DIR" > $@; echo "QTLIBPATH=$$LIBPATH" >> $@; \
        echo "QTLIB=$$LIB" >> $@; \

 

-- 
Michael Schwendt <mschwendt@xxxxxxxxxxxx>
Fedora Core release 4 (Stentz) - Linux 2.6.12-1.1387_FC4
loadavg: 1.20 1.07 1.24


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux