[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Help: "Cannot mix incompatible Qt libraries"
From:       "Guillaume Pothier" <gpothier () gmail ! com>
Date:       2008-08-26 0:51:56
Message-ID: 8caa8ded0808251751n2148252cm102a2c8a6a9676c2 () mail ! gmail ! com
[Download RAW message or body]

Hi,
I have this problem since yesterday: whenever I try to run krdc I get
"Cannot mix incompatible Qt libraries". This is on svn trunk,
compiling with kdesvn-build. I have been hacking on krdc in the last
few days and I didn't have this problem. The funny thing is that other
apps from kdenetwork don't have this problem.
I ran ldd on krdc and indeed there is a mix between my system's Qt
libs and the qt-copy ones:

(...)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb71c9000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb7181000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6858000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb6843000)
        libQtDBus.so.4 => /home/gpothier/devel/qt4/lib/libQtDBus.so.4
(0xb67f3000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
(0xb67db000)
        libsolid.so.4 => /home/gpothier/devel/kde/lib/libsolid.so.4
(0xb676f000)
        libQtSvg.so.4 => /home/gpothier/devel/qt4/lib/libQtSvg.so.4
(0xb6733000)
(...)

On kppp, ldd shows that the libs are the correct ones:

(...)
        libQtCore.so.4 => /home/gpothier/devel/qt4/lib/libQtCore.so.4
(0xb74f6000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
(0xb74bd000)
        libQtNetwork.so.4 =>
/home/gpothier/devel/qt4/lib/libQtNetwork.so.4 (0xb73f3000)
        libQtXml.so.4 => /home/gpothier/devel/qt4/lib/libQtXml.so.4
(0xb73bc000)
        libQtSvg.so.4 => /home/gpothier/devel/qt4/lib/libQtSvg.so.4
(0xb7380000)
        libQtGui.so.4 => /home/gpothier/devel/qt4/lib/libQtGui.so.4
(0xb6c2b000)
(...)

I tried recompiling everything, including qt-copy, with the
--reconfigure and --refresh-build options, I also tried to remove the
krdc directory from both the source tree (so that it is fetched fresh
by svn) and the build tree, nothing worked. Does anybody have an idea
of what might be going on?

Cheers,
g
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic