[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: renaming kde-config to kde4-config
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-01-07 1:17:29
Message-ID: 200701062317.46725.thiago () kde ! org
[Download RAW message or body]
David Faure wrote:
>Actually, I dug some more now, and this isn't even the issue here.
>The issue is that kde3 doesn't have all RPATHs set properly, so it just
> doesn't work.
I agree with the solution, but I don't agree with your assessment here.
The RPATHs in KDE 3 are set correctly.
>From a kde4 environment (including LD_LIBRARY_PATH pointing to
> /d/kde/inst/kde4/lib/), I do:
>
>ldd /usr/bin/klauncher | grep kdeinit
> libkdeinit_klauncher.so =>
> /d/kde/inst/kde4/lib/libkdeinit_klauncher.so (0xb7fa4000) => Ouch that
> should be /usr/lib/libkdeinit_klauncher.so.
The fact that you set LD_LIBRARY_PATH is the issue. It is supposed to
override any default search paths. So you actually told your KDE 3 to use
your KDE 4 klauncher kdeinit module.
If you unset it, it works fine:
$ ldd ~/KDE4/bin/klauncher | grep kdeinit
libkdeinit_klauncher.so
=> /home/thiago/KDE4/lib/libkdeinit_klauncher.so (0xb7fa4000)
$ ldd /usr/bin/klauncher | grep kdeinit
libkdeinit_klauncher.so => /usr/lib/libkdeinit_klauncher.so
(0xb7f4c000)
$ ldd /usr/local/kde3/bin/klauncher | grep kdeinit
libkdeinit_klauncher.so
=> /usr/local/kde3-r594555/lib/libkdeinit_klauncher.so (0xb7f63000)
My RPATHs -- my RUNPATHs -- are set correctly. The
Mandriva-provided /usr/bin/klauncher has no RPATH. The KDE 3 build
in /usr/local/kde3 is a no-tweak build out of Subversion. The KDE 4 build
has one tweaking:
-DKDE4_ALWAYS_USE_FULL_RPATH=ON
That should be the default.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic