php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12063 "make install" fails on cp lib/libphp4.so
Submitted: 2001-07-11 14:30 UTC Modified: 2002-08-03 01:00 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: david-shafer at uiowa dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.0-dev OS: AIX
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david-shafer at uiowa dot edu
New email:
PHP Version: OS:

 

 [2001-07-11 14:30 UTC] david-shafer at uiowa dot edu
Running "make install" produces the following output:

...
Making install in .
        /local/php/src/php4/build/shtool mkdir -p "/local/www/libexec" && /local/www/bin/apxs -S LIBEXECDIR="/local/www/libexec" -i -a -n php4 libs/libphp4.so
cp libs/libphp4.so /local/www/libexec/libphp4.so
cp: /local/www/libexec/libphp4.so: Cannot open or remove a file containing a running program.
apxs:Break: Command failed with rc=65536
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-11 14:33 UTC] dshafer@php.net
This error occurs because AIX doesn't immediately unload objects when they're no longer being used. One option is to delete the target file before writing it. However, the more correct option is to run "/usr/sbin/slibclean" prior to "cp libs/libphp4.so ...". That will unload all object files with load and use counts of 0.
 [2001-07-11 16:29 UTC] derick@php.net
You should stop your running apache before doing make install. If you did that, reopen this report if it still fails.
 [2001-07-11 16:33 UTC] david-shafer at uiowa dot edu
Yes, Apache is stopped when I run make install. If Apache was running, then slibclean wouldn't fix the problem, because the load and use counts wouldn't be 0.
 [2002-07-02 23:51 UTC] sniper@php.net
correct version..

 [2002-07-02 23:53 UTC] sniper@php.net
It's been a year now..can you check if this same issue
happens with current CVS HEAD? 

 [2002-08-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2023-08-28 12:48 UTC] git@php.net
Automatic comment on behalf of remicollet
Revision: https://github.com/php/php-src/commit/13d3564a51be4f0cd3167620d2b18f65ea5fc535
Log: Fix #12063 convert PHP single-quote to C double-quote string
 [2023-08-28 12:48 UTC] git@php.net
-Status: No Feedback +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC