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

List:       kde-devel
Subject:    Re: Help: "Cannot mix incompatible Qt libraries"
From:       "Guillaume Pothier" <gpothier () gmail ! com>
Date:       2008-08-27 14:57:10
Message-ID: 8caa8ded0808270757o4e86f5f5r6b7e5e00fed3441b () mail ! gmail ! com
[Download RAW message or body]

Well, it seems this problem got fixed now. I'd like to understand what
happenned anyway, anybody knows which commit did the fix?
g

On Tue, Aug 26, 2008 at 7:09 PM, Guillaume Pothier <gpothier@gmail.com> wrote:
> Well, reverting that change didn't improve things, on the contrary, it
> made akonadi libraries want to link against my system qt libraries
> instead of qt-copy, which it didn't before.
> So I put those two lines back into akonadi, and also pasted them into
> the CMakeLists.txt of all the libraries that displayed the problem
> (soprano, qimageblitz, phonon, etc). That seems to have solved the
> problem for those libraries: now I don't have any kde library trying
> to link with my system's qt.
>
> However, dolphin still doesn't work. I tried to add those two cmake
> lines to the CMakeLists.txt of kdebase/apps, kdebase/runtime and
> kdebase/workspace, but that didn't improve the situation. ldd of
> dolphin still says that it tries to use the system's qt.
>
> Regards,
> g
>
>
> On Tue, Aug 26, 2008 at 6:06 PM, Guillaume Pothier <gpothier@gmail.com> wrote:
>> I did a svn diff of kdesupport between today and the 21th of August.
>> Here is some things that might be relevant:
>>
>> Index: akonadi/CMakeLists.txt
>> ===================================================================
>> --- akonadi/CMakeLists.txt      (revision 850819)
>> +++ akonadi/CMakeLists.txt      (working copy)
>> @@ -8,6 +8,9 @@
>>  # where to look first for cmake modules, before
>> ${CMAKE_ROOT}/Modules/ is checked
>>  set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
>>
>> +set(CMAKE_SKIP_BUILD_RPATH FALSE)
>> +set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
>> +
>>  ######## find packages ####################
>>
>>  include(MacroLogFeature)
>>
>>
>> Unfortunately I don't know cmake at all so I don't know what this is
>> supposed to mean, bu I'll try reverting this to see if it fixes the
>> problem. I'll report here.
>> g
>>
>>
>> On Tue, Aug 26, 2008 at 5:21 PM, Michael Jansen <kde@michael-jansen.biz> wrote:
>>> On Tuesday 26 August 2008 22:58:59 Thiago Macieira wrote:
>>>> Guillaume Pothier wrote:
>>>> >ldd on libkdecore looks normal:
>>>>
>>>> Ok. Then do:
>>>>
>>>> LD_DEBUG=files dolphin
>>>>
>>>> I guess the error comes from a kdesupport library that does not set RPATH
>>>> like KDE apps do (probably Soprano or Strigi)
>>>
>>> For me the error is dolphin missing /opt/qt-copy/lib (in my case) in it's
>>> rpath. Everyone i tested with had the some result. dolphin takes the 3 Qt libs
>>> shown ass needed below from their systems qt installation. Most have no
>>> problems. some have.
>>>
>>> konqueror has qt-copy in it's rpath.
>>>
>>>
>>> /opt/kde4svn/bin/dolphin:     file format elf64-x86-64
>>>
>>> Program Header:
>>>    PHDR off    0x0000000000000040 vaddr 0x0000000000400040 paddr
>>> 0x0000000000400040 align 2**3
>>>         filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x
>>>  INTERP off    0x0000000000000238 vaddr 0x0000000000400238 paddr
>>> 0x0000000000400238 align 2**0
>>>         filesz 0x000000000000001c memsz 0x000000000000001c flags r--
>>>    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr
>>> 0x0000000000400000 align 2**21
>>>         filesz 0x000000000006cf9c memsz 0x000000000006cf9c flags r-x
>>>    LOAD off    0x000000000006dd08 vaddr 0x000000000066dd08 paddr
>>> 0x000000000066dd08 align 2**21
>>>         filesz 0x0000000000002638 memsz 0x0000000000002f80 flags rw-
>>>  DYNAMIC off    0x000000000006dd30 vaddr 0x000000000066dd30 paddr
>>> 0x000000000066dd30 align 2**3
>>>         filesz 0x00000000000002b0 memsz 0x00000000000002b0 flags rw-
>>>    NOTE off    0x0000000000000254 vaddr 0x0000000000400254 paddr
>>> 0x0000000000400254 align 2**2
>>>         filesz 0x0000000000000038 memsz 0x0000000000000038 flags r--
>>> EH_FRAME off    0x000000000005e3a8 vaddr 0x000000000045e3a8 paddr
>>> 0x000000000045e3a8 align 2**2
>>>         filesz 0x00000000000033ec memsz 0x00000000000033ec flags r--
>>>   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr
>>> 0x0000000000000000 align 2**3
>>>         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
>>>   RELRO off    0x000000000006dd08 vaddr 0x000000000066dd08 paddr
>>> 0x000000000066dd08 align 2**0
>>>         filesz 0x00000000000002f8 memsz 0x00000000000002f8 flags r--
>>>
>>> Dynamic Section:
>>>  NEEDED               libkfile.so.4
>>>  NEEDED               libdolphinprivate.so.4
>>>  NEEDED               libkonq.so.5
>>>  NEEDED               libnepomuk.so.4
>>>  NEEDED               libkparts.so.4
>>>  NEEDED               libstdc++.so.6
>>>  NEEDED               libm.so.6
>>>  NEEDED               libgcc_s.so.1
>>>  NEEDED               libc.so.6
>>>  NEEDED               libkio.so.5
>>>  NEEDED               libkdeui.so.5
>>>  NEEDED               libkdecore.so.5
>>>  NEEDED               libQtDBus.so.4
>>>  NEEDED               libQtCore.so.4
>>>  NEEDED               libQtGui.so.4
>>>  NEEDED               libsoprano.so.4
>>>  RPATH                /opt/kde4svn/lib64:/opt/kde4svn/lib64
>>>  RUNPATH              /opt/kde4svn/lib64:/opt/kde4svn/lib64
>>>  INIT                 0x000000000041c5a8
>>>  FINI                 0x0000000000450e38
>>>  HASH                 0x0000000000400290
>>>  GNU_HASH             0x0000000000402570
>>>  STRTAB               0x000000000040a058
>>>  SYMTAB               0x0000000000403008
>>>  STRSZ                0x000000000000ada6
>>>  SYMENT               0x0000000000000018
>>>  DEBUG                0x0000000000000000
>>>  PLTGOT               0x000000000066dfe8
>>>  PLTRELSZ             0x0000000000006960
>>>  PLTREL               0x0000000000000007
>>>  JMPREL               0x0000000000415c48
>>>  RELA                 0x00000000004157b0
>>>  RELASZ               0x0000000000000498
>>>  RELAENT              0x0000000000000018
>>>  VERNEED              0x0000000000415760
>>>  VERNEEDNUM           0x0000000000000002
>>>  VERSYM               0x0000000000414dfe
>>>
>>> Version References:
>>>  required from libc.so.6:
>>>    0x09691a75 0x00 04 GLIBC_2.2.5
>>>  required from libstdc++.so.6:
>>>    0x056bafd3 0x00 03 CXXABI_1.3
>>>    0x08922974 0x00 02 GLIBCXX_3.4
>>>
>>> --
>>> Michael Jansen
>>>
>>> http://www.michael-jansen.biz
>>>
>>>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>>>
>>
>
 
>> 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