On 11/6/07, 0xbeef <[EMAIL PROTECTED]> wrote:
> IO error: Can't open file /tmp/par-root/
> cache-880362d2eb1c66eb77f72ddaa4298178/libgd.a for write : Cannot open
> or remove a file containing a running program.
>
> This happens since the shared library is still loaded in memory by the
> O/S when the PAR binary is run more than once, and thus cannot be
> overwritten. On AIX, one can run "slibclean" to remove all unused/
> unreferenced libraries and this indeed fixes the problem for me, but
> is not acceptable as a permanent solution.

Sounds like a bug in PAR to me: the whole purpose of the
/tmp/par-USER/cache-SHA1/... files is to only extract stuff
on the very first run of a PAR packed executable. Later invocations
are not supposed to extract the stuff again when they see that
the cache directory already exists.

Cheers, Roderich

Reply via email to