[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (With Patch) Re: DESTDIR trouble
From: |
R.I.P. Deaddog |
Subject: |
Re: (With Patch) Re: DESTDIR trouble |
Date: |
Tue, 8 Jul 2003 04:30:44 +0800 |
On 2003-07-06(Sun) 11:08:58 -0500, Bob Friesenhahn wrote:
> There is a "catch-22" with this approach in that adding
> -L$inst_prefix_dir to the front of the linker search path may cause
> the wrong dependency libraries to be used, which is just as bad as
> picking up the wrong target library. The approach is reasonably safe
> for a DESTDIR install since one may assume that the existing libraries
> in $inst_prefix_dir are related to the current build, but is dangerous
> for a normal user install.
Let me illustrate more:
For normal user install, my patch has no effect -- since
$inst_prefix_dir is never used in normal install, no prepending of
staging library path is done during library relinking.
For staging install, the staging lib path is always prepended to the
whole list of libraries and lib paths, thus picking up the correct
libraries.
Abel
>
> Although special tweaks may be applied for a DESTDIR install, the
> library paths should be as the user specified for a normal install.
>
> Bob
> ======================================
> Bob Friesenhahn
> address@hidden
> http://www.simplesystems.org/users/bfriesen
>
--
Abel Cheung
Linux counter #256983 | http://counter.li.org
GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
pgpMjW1zpu4Bz.pgp
Description: PGP signature
- Re: DESTDIR trouble, (continued)
- Re: DESTDIR trouble, Charles Wilson, 2003/07/05
- (With Patch) Re: DESTDIR trouble, Abel Cheung, 2003/07/06
- Re: (With Patch) Re: DESTDIR trouble, Bob Friesenhahn, 2003/07/06
- Re: (With Patch) Re: DESTDIR trouble, R.I.P. Deaddog, 2003/07/07
- Re: (With Patch) Re: DESTDIR trouble, Alexandre Duret-Lutz, 2003/07/07
- Re: (With Patch) Re: DESTDIR trouble, Abel Cheung, 2003/07/07
- Re: (With Patch) Re: DESTDIR trouble, Bob Friesenhahn, 2003/07/07
- Re: (With Patch) Re: DESTDIR trouble, Abel Cheung, 2003/07/08
- Re: (With Patch) Re: DESTDIR trouble, Charles Wilson, 2003/07/07
- Re: (With Patch) Re: DESTDIR trouble, Bernd Jendrissek, 2003/07/08
- Re: (With Patch) Re: DESTDIR trouble,
R.I.P. Deaddog <=
Re: DESTDIR trouble, Bernd Jendrissek, 2003/07/07