[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Some libraries are not found without LD_LIBRARY_PATH mangling
From: Michael Pyne <michael.pyne () kdemail ! net>
Date: 2007-10-26 21:40:57
Message-ID: 200710261740.57382.michael.pyne () kdemail ! net
[Download RAW message or body]
On Friday 26 October 2007, Andras Mantia wrote:
> On Saturday 27 October 2007, Michael Pyne wrote:
> > You may have to recompile/reinstall kdesupport but I'm not sure why
> > CMake wouldn't have added the appropriate flags.
>
> This was a clear compilation: empty build dir, empty install dir, no
> sign of other KDE4 libraries on my disk.
To confirm use the readelf tool on the libraries in question:
readelf -d /path/to/lib.so | grep 'R.*PATH'
You should get output display the RUNPATH and RPATH entries. (RUNPATH is
preferred if present).
e.g.
$ readelf -d /usr/lib64/libkdeinit_koshell.so | grep 'R.*PATH'
0x000000000000000f (RPATH) Library rpath:
[/usr/kde/3.5/lib64:/usr/qt/3/lib64:/usr/lib64]
0x000000000000001d (RUNPATH) Library runpath:
[/usr/kde/3.5/lib64:/usr/qt/3/lib64:/usr/lib64]
Regards,
- Michael Pyne
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic