renaming kde-config to kde4-config

Thiago Macieira thiago at kde.org
Sun Jan 7 01:17:29 GMT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070106/036607b5/attachment.sig>


More information about the kde-core-devel mailing list