[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macros for rpath support
From: |
Henrique de Moraes Holschuh |
Subject: |
Re: macros for rpath support |
Date: |
Wed, 22 May 2002 14:22:42 -0300 |
User-agent: |
Mutt/1.2.5i |
On Wed, 22 May 2002, Alexandre Duret-Lutz wrote:
> >>> "Henrique" == Henrique de Moraes Holschuh <address@hidden> writes:
> Henrique> We use ld.so.conf and the ld.so linker itself only,
>
> Wouldn't it be enough to teach `config.rpath' to *not* output
> `-rpath DIR' when `DIR' is already searched by `ld.so'?
> Like Libtool does (see `$sys_lib_search_path').
No. First, ld.so may search stuff libtool scripts are not aware of. Second,
ld.so.conf may not have been modified yet at package build time. Using
runtime data to compile packages has too many caveats to be done lightly. At
the very best, it fucks up crosscompilation scenarios. Third, trying to be
too clever results in stupid tools that cannot be told to do the right thing
when you know better.
FYI libtool has a terrible past record on rpath handling. Many of our
porters hate libtool with vengeance (or worse), and not many people I've
talked to that are downstream for libtool-using packages like it either.
So, *please* don't overengineer it. Just give us a --without-rpath switch
that actually works, without any clever tricks that are fated to bring even
more pain and suffering to Earth.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
- Re: macros for rpath support, (continued)
- Re: macros for rpath support, Akim Demaille, 2002/05/27
- Re: macros for rpath support, Akim Demaille, 2002/05/27
- Re: macros for rpath support, Bruno Haible, 2002/05/27
- Re: macros for rpath support, Akim Demaille, 2002/05/28
- Re: macros for rpath support, Bruno Haible, 2002/05/28
Re: macros for rpath support, Bruno Haible, 2002/05/22
RE: macros for rpath support, Dan Kegel, 2002/05/22