Mailinglist Archive: opensuse-packaging (235 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Re: What does 'RPATH "" ... is not allowed' mean?
- From: Marcus Meissner <meissner@xxxxxxx>
- Date: Tue, 13 Mar 2012 13:03:15 +0100
- Message-id: <20120313120315.GE31321@suse.de>
On Tue, Mar 13, 2012 at 12:39:52PM +0100, Yamaban wrote:
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
On Tue, 13 Mar 2012 08:32, Marcus Meissner <meissner@...> wrote:
On Tue, Mar 13, 2012 at 05:43:49AM +0100, David Haller wrote:<snip>
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
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 > |