Some libraries are not found without LD_LIBRARY_PATH mangling

Andras Mantia amantia at kde.org
Fri Oct 26 23:16:33 BST 2007


On Saturday 27 October 2007, Michael Pyne wrote:
> readelf -d /path/to/lib.so | grep 'R.*PATH'
>
> You should get output display the RUNPATH and RPATH entries.
>  (RUNPATH is preferred if present).

I don't have RPATH and RUNPATH for the KDE4 libraries (I do have for the 
KDE3 versions). But this is true for all libraries I checked, not only 
for the problematic ones, like libkpart.so. Even more, some binaries, 
like cervisia find those as well:
cervisia:
        libkdeinit4_cervisia.so 
=> /opt/kde4/lib64/libkdeinit4_cervisia.so (0x00002b3f516ac000)
        libQtCore.so.4 => /opt/qt4/lib/libQtCore.so.4 
(0x00002b3f5191d000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b3f51cd2000)
        libkdecore.so.5 => /opt/kde4/lib64/libkdecore.so.5 
(0x00002b3f51eee000)
        libkdeui.so.5 => /opt/kde4/lib64/libkdeui.so.5 
(0x00002b3f52327000)
        libkio.so.5 => /opt/kde4/lib64/libkio.so.5 (0x00002b3f528e2000)
        libkparts.so.4 => /opt/kde4/lib64/libkparts.so.4 
(0x00002b3f52dab000)
        libkpty.so.4 => /opt/kde4/lib64/libkpty.so.4 
(0x00002b3f52ff6000)


Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071027/1ebefc54/attachment.sig>


More information about the kde-core-devel mailing list