Mailinglist Archive: opensuse-packaging (235 mails)

< Previous Next >
Re: [opensuse-packaging] Re: What does 'RPATH "" ... is not allowed' mean?
On Tue, Mar 13, 2012 at 12:39:52PM +0100, Yamaban wrote:
On Tue, 13 Mar 2012 08:32, Marcus Meissner <meissner@...> wrote:
On Tue, Mar 13, 2012 at 05:43:49AM +0100, David Haller wrote:
On Tue, 13 Mar 2012, David Haller wrote:
On Tue, 13 Mar 2012, Philipp Thomas wrote:
On Tue, 13 Mar 2012 02:09:58 +0100, Christian Boltz
<snip>
This is actually bad.

You have an empty RPATH ... This means that libraries will searched in the
current directory too
when you load this module/run this application.

Huh?? Please give a little more info on the reality of what the linker does.

Until now my understanding was that empty and unset RPATH where the same:
system-default, no added things.

AFAIK, one had to set RPATH="." to include the current directory, ":"
didn't do anything.

Is my knowlegde flawed? Please give enlightment to a poor soul.

Actually no ... If you do things like
LD_LIBRARY_PATH=":/usr/foo/lib:/usr/bar/lib" it looks fine, but
the first component is empty ... so everything will also be searched
in the "" directory, which is the current one.

similar goes for RPATH.

Ciao, Marcus
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups