develooper Front page | perl.perl5.porters | Postings from April 2003

Re: LD_PRELOAD hack, still badly flawed / a solution

Thread Previous
From:
Rafael Garcia-Suarez
Date:
April 5, 2003 14:20
Subject:
Re: LD_PRELOAD hack, still badly flawed / a solution
Message ID:
20030406002329.46f43694.rgarciasuarez@free.fr
Enache Adrian wrote:
> The LD_PRELOAD trick isn't right at all: If the 'make' process stops
> before the link phase and the libperl.so isn't yet there, you simply
> cannot do a 'make clean' or 'make distclean' to start from scratch.
> 
> I whipped it with a dynamically generated wrapper script that preloads
> the perl library only if that really exists: I don't insist on this
> particular solution - but this should be fixed somehow.

Thanks, applied as #19150.

> --- /arc/bleadperl/Makefile.SH	2003-04-02 00:12:01.000000000 +0300
> +++ Makefile.SH	2003-04-03 04:26:41.000000000 +0300
-- 
Unambiguous is not *NIX

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About