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

Re: [PATCH] Cargo-cult fix for an AIX build problem

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
April 27, 2007 02:32
Subject:
Re: [PATCH] Cargo-cult fix for an AIX build problem
Message ID:
20070427113017.1607331a@pc09
On Fri, 27 Apr 2007 09:56:29 +0200, "Rafael Garcia-Suarez"
<rgarciasuarez@gmail.com> wrote:

> On 27/04/07, Jan Dubois <jand@activestate.com> wrote:
> > The patch below is against blead, but I only ran into the problem
> > using 5.8.8 (I'm don't regularly build blead on AIX).
> >
> > When building a shared libperl.so, during `make install` the Makefile
> > would rebuild libperl.so (as it does for most top level targets), but at
> > that time ld would fail:
> >
> >   ld: 0711-851 SEVERE ERROR: Output file: libperl.so
> >    The file is in use and cannot be overwritten.
> >   make[1]: *** [libperl.so] Error 12
> >
> > I'm certain this did not happen a few weeks ago, but I cannot figure out
> > what has changed.  By trial and error I found out that the error goes
> > away if I explicitly delete libperl.so before rebuilding it.
> 
> Thanks, applied as #31098.

That won't work. I cannot find it, but there is an AIX command line util
that tells the OS to unload shared objects if possible, and that should
precede the rm command.

Why do vendors like DEC, Compaq, and IBM make our lives so miserable and
use illogical names we cannot remember ...

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


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