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

List:       kde-buildsystem
Subject:    RPATH problems in kdelibs
From:       neundorf () kde ! org (Alexander Neundorf)
Date:       2006-12-10 23:53:03
Message-ID: 200612110053.03839.neundorf () kde ! org
[Download RAW message or body]

Hi,

On Monday 11 December 2006 00:49, Thiago Macieira wrote:
...
> I have not found any tool to do that. I think I can come up with
> something, but the problem is really that adding stuff to the ELF header
> could cause a lot to move. I am not sure how much moving around I can do
> in an ELF executable.
>
> The alternative is to add a dummy rpath with lots of padding. That one we
> can easily change. 

What's a good way to do the padding ? I mean just adding stuff to the RPATH 
might lead to new directories searched for libs when the app is loaded 
(security issues ?).
Maybe simply repeating the last RPATH until it's long enough ?

> The only drawback is the adding of RPATH with no
> RUNPATH, which seems to be the default on Linux: if this is the case,
> LD_LIBRARY_PATH has no effect.
>
> I still have seen no side-effect to using RUNPATH (as opposed to RPATH
> only).

I'll have a look.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net

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

Configure | About | News | Add a list | Sponsored by KoreLogic